OK, so I put it into moon.usa-pass.com/docs
I also added Options FollowSymLinks to
<Directory /var/www/hosts>
AllowOverride All
Options FollowSymLinks
Order allow,deny
Allow from all
</Directory>
but still no joy :(
Well the domain without www resolves just fine, just when I add www part it comes back with page cannot be found.
In dns I have an A record for moon.usa-pass.com = the IP address and an A record for www.moon.usa-pass.com = IP too. (Win 2K DNS server, no DNS on the Linux box itself). They...
Oops! CD www does work (I was in the wrong directory with the command line before). I also notice that any attempt to cd www further just leaves me in the same folder. This makes sense. Using File Manager threw me there.
OK! that worked, but it doesn't resolve from a browser. Do I need to restart Apache?
I took a look at the symlink with File Manager and inside the link (www) it has a a copy of the folders in that directory including one of itself (www). If I look in the copy of itself (www) there is another...
That did it!
I'd have been foreever trying to figure that one out.
Thanks a million.
One last question, how do I create a symlink to the current folder? Google isn't helping me here either!
I get this in my error log
[Thu Feb 27 06:44:02 2003] [error] [client 208.199.169.69] client denied by server configuration: /var/www/hosts/customeyes.biz/docs
Permissions on the entire folder structure itself is root/root, rwxr-xr-x until you get to /docs which add rwxrwxr-x to /docs and...
A couple of other things that might help,
With the default setup and regular virtual domains I originally had moon.usa-pass.com showing the default apache page.
In other words, it was working (just to eliminate that question).
Now my brain really hurts! :)
I expect I will end up with sub.sub.domain.com, sub.domain.com and domain.com for some domains and others that are just domain.com.
Thanks for the tips.
I've been googleing Apache and came accross http://www.tek-tips.com/faqs.cfm?spid=65&sfid=1836 looking for more examples.
With the mass virtual hosting you display, how are requests to http://domain.tld handled when your directory structure is www.domain.tld? Does this require an alias?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.