infiltrator
Verified User
- Joined
- Jun 8, 2006
- Messages
- 41
Hi,
I'm pulling my hair out...
i'm looking for more then 3 weeks for a solution to my problem.
We changed from a dedicated server provider to another, and moved al accounts from a fedora 5 server with directadmin/custombuild/webalizer
to a centos directadmin/custombuild/awstats server.
After rebuilding al the domains and creating new ones, fixing erors.
Setting up webmail etc.
I got to test awstats ( already created with every new account )
awstats runs perfectly from the cp, but when a create a public link ( domain/awstats ) my output is only the source of the perl script.
After looking for a solution, trying thing out, everythings stays the same.
I installed custombuild, to try the fix the problem that way, but everything stays the same.
I tryd to change the apache conf / the .htaccess file, changing the file rigths and the owner of the file, but nothing seems to help...
I tryd on a domain that is restored from the old server but put into a new account, and also on a clean new account with new domain.
On both i get everything ok in the control panel ( the html output as also the awstats.pl output )
but on the domain/awstats i get for the awstats.pl output only the source of the perl script, for the index.html output i get the good results.
The .htacces contains
I even tried to put in the directory except of the rewrite rules into the apache.conf file, without any succes.
The awstat.pl file was owned by the user of that account, changing it to root, did not fix it.
It was chmod from 755 to 777 without any succes
Can anyone help, i'm out of webpage sources and solutions...
Its a serverwide problem
I'm pulling my hair out...
i'm looking for more then 3 weeks for a solution to my problem.
We changed from a dedicated server provider to another, and moved al accounts from a fedora 5 server with directadmin/custombuild/webalizer
to a centos directadmin/custombuild/awstats server.
After rebuilding al the domains and creating new ones, fixing erors.
Setting up webmail etc.
I got to test awstats ( already created with every new account )
awstats runs perfectly from the cp, but when a create a public link ( domain/awstats ) my output is only the source of the perl script.
After looking for a solution, trying thing out, everythings stays the same.
I installed custombuild, to try the fix the problem that way, but everything stays the same.
I tryd to change the apache conf / the .htaccess file, changing the file rigths and the owner of the file, but nothing seems to help...
I tryd on a domain that is restored from the old server but put into a new account, and also on a clean new account with new domain.
On both i get everything ok in the control panel ( the html output as also the awstats.pl output )
but on the domain/awstats i get for the awstats.pl output only the source of the perl script, for the index.html output i get the good results.
The .htacces contains
Code:
Options -Indexes +ExecCGI
AddHandler cgi-script .pl
DirectoryIndex awstats.pl
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.liveweb.be$ [NC]
RewriteRule ^(.*)$ http://liveweb.be/awstats/$1 [R=301,L]
I even tried to put in the directory except of the rewrite rules into the apache.conf file, without any succes.
The awstat.pl file was owned by the user of that account, changing it to root, did not fix it.
It was chmod from 755 to 777 without any succes
Can anyone help, i'm out of webpage sources and solutions...
Its a serverwide problem