Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Virtualhost Configuration

Status
Not open for further replies.

TekTipPal

Technical User
Sep 12, 2003
11
IN
Hi All,

I am new to Apache . I am presently using Apache 1.3.28 version. I tried to configure a virtual host , just to understand the concept.I have the following problem, when i give a request like localhost:8080/ i Get the Page Not Found Error With the Message "The Requested URL / was not Found in the server ".


For your information here is the contents added to the httpd.conf file


NameVirtualHost *:8080
<VirtualHost *:8080>

ServerAdmin xxxx
DocumentRoot /home/Apache1.3.28/htdocs/vitualhost

ServerName 127.0.0.1
<Directory /home/Apache1.3.28/htdocs/vitualhost>
Options Indexes
Order allow,deny
Allow from all
</Directory>
DirectoryIndex vhindex.html
</VirtualHost>


The DirectoryIndex file vhindex.html is available under the Specified Directory (ie virtualhost).

Any Suggestions , Corrections in this regard are appreciated

Thanks !!

Regards
TekTipPal
 
Thanks for the information. I specified my hostname & now i am able to get the required pages.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top