Apache Config...

General discussions related to php

Moderators: macek, egami, gesf

User avatar
ruturajv
php-forum Super User
php-forum Super User
Posts: 1280
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India
Contact:

Apache Config...

Postby ruturajv » Wed Jul 16, 2003 8:41 am

Hi i was trying config apache and here is the problem...


OS: Win98 SE
Server: Apache 1.3.27

What i want is...

on typing http://www.ruturajv.com , I should be taken to 'd:\php\homepage\' so i tried using

Port 80
Listen 127.0.0.2:80
<VirtualHost 127.0.0.2>
DocumentRoot "d:/php/homepage"
ServerName http://www.ruturajv.com
</VirtualHost>

And for address "http://127.0.0.2/" i get error

/////////////////// THE ERROR ////////////////////////////////
Forbidden
You don't have permission to access / on this server.


-------------------------------------------------------

Apache/1.3.27 Server at http://www.home.com Port 80
/////////////////// THE ERROR ////////////////////////////////

User avatar
Redcircle
Moderator
Moderator
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA
Contact:

Postby Redcircle » Wed Jul 16, 2003 5:16 pm

if there is no index.html in the directory you will get this error. index.php will not work unless you add it to an available index type.


Return to “PHP General”

Who is online

Users browsing this forum: No registered users and 2 guests