Virtualhosts domain to rediecting to root

Using a single web hosting account to host multiple sites

Virtualhosts domain to rediecting to root

Postby jenki » Thu Aug 21, 2008 4:00 pm

Hello guys, not sure if this is even the cause, but I'll give it a try.

I have a virtualhosts section in the httpd.conf that redirects domain names to ..../vhosts/domain directories. They all work execpt for one that have an htaccess file for a client. The htaccess file has bascially a bunch of rewrites to make all the urls look nice. However, for this virtualhost only the site is always redirected to the main /var/www/html directory. I cann't figure out why and was wondering first of all if it might have to do with the htaccess file and the rewrites. If so tell me and I'll post the file for you to look at, otherwise, thanks and perhpas any suggestions where I might look?

Cheers,

Jeff
jenki
 
Posts: 1
Joined: Thu Aug 21, 2008 3:25 pm

Postby richardk » Sat Aug 23, 2008 9:45 am

If you remove the .htaccess file does it go to the right document root?
What is the <VirtualHost> like?
What is the mod_rewrite?
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am


Return to Domain Handling

Who is online

Users browsing this forum: No registered users and 21 guests

cron