This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Apache Virtual Host Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Apache Virtual Host" Watch "Apache Virtual Host" New topic
Author

Apache Virtual Host

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Ok all you Apache Guru's. I was setting up an Apache Web Server at home on RH9. Had no problems building and installing as I have done this numerous times. The problems I had were when it came to Virtual Hosts.
I had setup a Virtual Host for the directory /home/gdboling/www/html. This is not a Userdir mind you, but a <VirtualHost>. So I kept getting the 403 Forbidden message.
So, as root, I made a new path called /www/domain.com and pointed my Virtual Host at that path, and it worked just fine.
I had tried changing the folder permissions to 755 and 777 in /home/gdboling/.... but that did not seem to change anything.
So my question is, why would I have access via the web to a folder I created as ROOT but not to another folder that is for a general user?
Thanks.


GenRocket - Experts at Building Test Data
 
 
subject: Apache Virtual Host
 
Similar Threads
Still confused - Tomcat Servlet.xml
Define new tomcat webapp location?
How to configure tomcat to map fxbird.com to localhost:8080/myweb on tomcat 5.5 server?
Servlet Mapping in Tomcat
Need someone to verify syntax in Tomcat servlet.xml