Problem Issue with Apache and Virtual Document root..

Hi again,
This is my other error, I wanted to paste separately so i could name properly.


<VirtualHost 000.000.000.000>
ServerAlias www.myfulldomain.com myfulldomain.com
ServerAdmin webmaster@myfulldomain.com
DocumentRoot /home/myfulldo/public_html
#BytesLog domlogs/myfulldomain.com-bytes_log
ServerName www.myfulldomain.com
User myfulldo
Group myfulldo
#CustomLog domlogs/myfulldomain.com combined
ScriptAlias /cgi-bin/ /home/myfulldo/public_html/cgi-bin/
</VirtualHost>

<VirtualHost 000.000.000.000>
UseCanonicalName Off
ServerAlias *.myfulldomain.com
ServerAdmin webmaster@myfulldomain.com
VirtualDocumentRoot /home/myfulldo/public_html/~subdomains/%1
#BytesLog domlogs/myfulldomain.com-bytes_log
User myfulldo
Group myfulldo
#CustomLog domlogs/myfulldomain.com combined
ScriptAlias /cgi-bin/ /home/myfulldo/public_html/cgi-bin/
</VirtualHost>
I have this in my /usr/local/apache/conf/httpd.conf file.

It's SUPPOSED to allow me to do this:

whateveriwant.myfulldomain.com/ > reads files from
/home/myfulldo/public_html/~subdomains/whateveriwant


and it works on my old cpanel server but not my new one. Apache config checks out just fine, and mod_vhost_alias is loaded as a DSO.

Any ideas what' i'm doing wrong. I get a 500 / cannot find page error each and every time I try to load any subdomain 2 subfolder....

I'd appreciate any help I can get! This is a big problem as I use virtual directories on many many many sites!

 

 

 

 

Top