|
-
Jan 15th, 2008, 10:59 PM
#1
Thread Starter
Frenzied Member
Wamp on Windows Server 2003
Man, I'm getting old. I had this problem before, fixed it, but forgot how again!
Basically I installed Win2k3 Server on a spare pc at work. Then Installed WAMP Server, and got everything working just fine.
But when I try to access websites on the server over the network, I get this HTTP 403 (Access Forbidden) error.
I know it's a file permission error. But what permission to give to what user on what files/folders?
I dont see an IUSR_whatever account. Did not install IIS or configure the server as an application server.
-
Jan 15th, 2008, 11:08 PM
#2
Re: Wamp on Windows Server 2003
It is most likely an Apache permissions issue. WAMP may by default block access to files or scripts from machines other than localhost.
Do you get a 403 error for everything, or just PHP scripts?
-
Jan 15th, 2008, 11:12 PM
#3
Thread Starter
Frenzied Member
Re: Wamp on Windows Server 2003
Seems everything.
You are not authorized to view this page
You might not have permission to view this directory or page using the credentials you supplied.
--------------------------------------------------------------------------------
If you believe you should be able to view this directory or page, please try to contact the Web site by using any e-mail address or phone number that may be listed on the sp-server-01 home page.
You can click Search to look for information on the Internet.
HTTP Error 403 - Forbidden
Internet Explorer
-
Jan 15th, 2008, 11:19 PM
#4
Re: Wamp on Windows Server 2003
Find where Apache is installed. Open the \conf\httpd.conf file.
Find this line:
Code:
DocumentRoot "x:/somewhere"
Then find a section like this that has the same path in it.
Code:
<Directory "x:/somewhere">
...
</Directory>
In between <Directory ...> and </Directory>, add these lines (or alter, if they are already there):
Code:
Order allow,deny
Allow from all
That may or may not fix the problem.
-
Jan 15th, 2008, 11:50 PM
#5
Thread Starter
Frenzied Member
Re: Wamp on Windows Server 2003
You are my hero! (for the next 8 minutes )...needless to say that did the job.
100% sure I never fixed this issue this way. Anyhowz..dont have time to break my head over that.
Thanks again mate
-
Jan 15th, 2008, 11:51 PM
#6
Thread Starter
Frenzied Member
Re: Wamp on Windows Server 2003
btw: This thing say I must spread the love before giving you rep points again...just so you know i tried!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|