Gday guys, Im way over my head on this one any help would be good, A clients server recently was updated and now all of the sites just redirect to the document root. Well actualy for some crazy reason it redirects to /home/access.php (there is not and never was an access.php) the documentroot for apache is /var/www/html I had some crazy htaccess stuff going on and I removed it all to make sure that wasnt it. inside the docroot is a heap of folders each containing a website Im using some crappy westhost application to maintain all the domains here is a domain example Domain name: oracookbook.com Web directory: /var/www/html/oracookbook.com/ I downloaded a http status anaylser for windows and here is the output 302 oracookbook.com/ redirectURL: oracookbook.com/home/access.php nothing in the htaccess doing that, and plus ill write it out again with its actual file location, and wtf is with this access.php 302 oracookbook.com/ redirectURL /var/www/html/home/access.php it completly ditched the 'oracookbook.com' folder I really hope all that makes sense to someone and they can help. Cheers
can you paste a excerpt for 1 domain name from virtualhost.conf? also see what does your httpd.conf say about DirectoryIndex (what files are specified?) it should mostly be DirectoryIndex index.php index.cgi <all other extensions> not just DirectoryIndex access.php
Gday kaung Already checked the directoryIndex, and no access.php in it, but here it is DirectoryIndex default.htm index.cgi .index.cgi index.html index.htm index.shtml index.sht index.mv index.htmv index.php index.php4 index.php3 index.phtml index.asp default.asp index.pl index.py index.cf And here are some virtual hosts Here are the top 4 of them, the rest of them all look similiar to the 4th one, just different info ofcourse <VirtualHost *> </VirtualHost> <VirtualHost *> ServerName peoplesoftcookbook.com ServerAlias www.peoplesoftcookbook.com DocumentRoot /var/www/html/peoplesoftcookbook.com </VirtualHost> <VirtualHost *> ServerName srmcookbook.com ServerAlias www.srmcookbook.com DocumentRoot /var/www/html </VirtualHost> <VirtualHost *:80> ServerName sapcookbook.com ServerAlias www.sapcookbook.com DocumentRoot /var/www/html/sapcookbook.com </VirtualHost> I hope this helps Cheers, -- James -- Zemond
And now that i fully read your post, you said from 'virtualhost.conf' the ones i posted are from httpd.conf. As i said im in over my head should I look for virtualhost.conf?