SunQuest
           PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old November 9th, 2002, 01:02 AM
freedimension freedimension is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Germany
Posts: 15 freedimension User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to freedimension
Problems with /php/ path

Since my last (fresh [latest versions] and clean [no remains of older versions]) Installation of Apache and PHP on my Win2k, I get an odd behaviour.
My Scripts kept in the subfolder /php/ can't be executed. I keep getting the following Error Message:

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

But as soon as I rename this folder everything works (except that I would be forced to rewrite my scripts to work with the new folder name [a good reason to use constants ;-) ]). I looked through my httpd.conf and php.ini but found nothing of interest for this special folder.
Is this normal behaviour?
ne1 knows what's wrong?
please help, thanks
freedimension

Reply With Quote
  #2  
Old November 9th, 2002, 01:26 AM
Matt Matt is offline
Moderator
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 10 m 20 sec
Reputation Power: 6
RE: Problems with /php/ path

I would guess that this has something to do with the fact the you have a script alias set up in apache called /php/:

ScriptAlias /php/ "c:/apache/php/"

or something similar....

just change the alias to something else:

ScriptAlias /php4/ "c:/apache/php/"

and restart the web server....

Reply With Quote
  #3  
Old November 9th, 2002, 10:57 AM
freedimension freedimension is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Germany
Posts: 15 freedimension User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to freedimension
RE: Problems with /php/ path

ok, will try that one out.

thanks

Reply With Quote
  #4  
Old November 9th, 2002, 12:49 PM
freedimension freedimension is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Germany
Posts: 15 freedimension User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to freedimension
RE: Problems with /php/ path

yapp, that was it.
But I'm still curious about the reason. Why does Apache behave like this?

Reply With Quote
  #5  
Old December 6th, 2002, 05:48 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Problems with /php/ path

I suspect the problem is not with Php or Apache. Check the Windows file permissions on your /php dir. Compare them to the new dir you created.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > Problems with /php/ path


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway