snip of my http.conf:
Listen 80
Listen 8080
Listen 8081
NameVirtualHost 127.0.0.1:80
<VirtualHost 127.0.0.1:80>
ServerAdmin schwartz RemoveThis @cableone.net
DocumentRoot /usr/local/apache2
ServerName home.example.com
</VirtualHost>
<VirtualHost 127.0.0.1:8080>
ServerAdmin schwartz RemoveThis @cableone.net
DocumentRoot /home/tcnl/public_html
ServerName tcnl.example.com
</VirtualHost>
I would like to to leave /usr/local/apache2 as the default website,
but want to configure several different sites onto ports 8080 and up.
This is only for a dev server, so i only need to reach these on my
LAN, so i don't really have server names for them? (i know i'll have
to change the ip to get to these from other machines on my lan, but
need to at least get it working locally first)
this is what i get in a browser when i try these from the local
browser:
<a style='text-decoration: underline;' href="http://localhost" target="_blank">http://localhost</a> ----- 403 Forbidden
<a style='text-decoration: underline;' href="http://localhost:80" target="_blank">http://localhost:80</a> ---- 403 Forbidden
<a style='text-decoration: underline;' href="http://localhost:8080" target="_blank">http://localhost:8080</a> ---- 403 Forbidden
<a style='text-decoration: underline;' href="http://localhost:8081" target="_blank">http://localhost:8081</a> ---- directory listing of
/usr/local/apache2/htdocs
<a style='text-decoration: underline;' href="http://localhost:8082" target="_blank">http://localhost:8082</a> ---- Connection was refused.
I understand the results on :8081 and :8082, but don't understand why
others are forbidden? I have set directory permission to 777 on
/home/tcnl/public_html but still get the 403. does this have
something to do with me not having a proper server name?
Thanks for any help, i'm getting very frustrated with this problem.<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: forbidden virtualHost