Apache Config...

General discussions related to php

Moderators: egami, macek, gesf

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

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: 826
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA
Contact:

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.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests