GIDForums  

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 25-Mar-2004, 03:02
thinnk thinnk is offline
New Member
 
Join Date: Mar 2004
Posts: 2
thinnk is on a distinguished road
Unhappy

Apache 1.3.28 >XP > Complete Beginner setting alias?


Hi guys,

Am a web designer whom has installed Apache 1.3.28 on my XP Home machine.
Install went perfect, went to localhost and it was successful. Install PHP, and my test.php file worked.

PROBLEM:
When I made a new directory in the /htdocs/ folder called /php/ just to test the folder priviledges, and copied my test.php, which ran perfectly as localhost , and tried to load it in localhost, it gave me a:
403 Forbidden
You don't have permission to access /php/ on this server.
.

Now the only folder in the /htdocs/ is a documentation folder which came with the install.
And as far as I understand, I obviously have to edit my "httpd.conf" file to change permissions.
How would I do edit it with setting permissions to all folders I create in the /htdocs/ folder or do I have to set an "alias"?(a word I dont know the true meaning of) for every single folder I want to create?

Please help?

Thanks
J

Apache/1.3.28 Server at localhost Port 80
  #2  
Old 25-Mar-2004, 10:37
Allowee's Avatar
Allowee Allowee is offline
Regular Member
 
Join Date: May 2003
Location: The Netherlands
Posts: 339
Allowee has a spectacular aura about
do you get the same error when you create a directory called /test and access it like http://localhost/test/test.php ?

in some installations the /php/ directory is special and may not be used

if above also doesn't worh you should take a look at your error log, located in the /logs dir
__________________
Pastebin
PHP Documentation Site
Allowee's Blog http://allowee.net
  #3  
Old 26-Mar-2004, 01:42
thinnk thinnk is offline
New Member
 
Join Date: Mar 2004
Posts: 2
thinnk is on a distinguished road
Talking

Thank You... problem solved


Hey Allowee,

Thanks very much. I did try /test/ directory, and guess what. It work perfectly. I was stupid enough to only make a /php/ directory and didnt realise it was a protected directory.

Thanks a ton,
J
 
 

Recent GIDBlogToyota - 2008 November Promotion by Nihal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache 1.3.28 out jrobbio Apache Web Server Forum 0 18-Jul-2003 19:24

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 03:02.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.