themanfalconar
Technical User
Hello all,
I'm new to Apache and PHP, and so I've attempted to set up a web server whereby I can have a play with them. I'm running Apache 2.0.49 with PHP5.0.0 RC1 on RedHat 9. Apache is working fine as a web server, and I even have it working with CGI.
When I attempt to open a simple php document using I get the error message:
Forbidden
You don't have permission to access /test/phptest.php on this server.
I've changed the permissions on the test folder to 0777 and it still comes up with the same message. I've put everything in httpd.conf that is recommend on php.net, and so I'm really scratching my head as to why it doesn't work. I think I must be missing something in my httpd.conf file... For your reference, a copy of my httpd.conf file is available at:
And the PHP file I'm trying to run is:
Please note that the above files are hosted on a completely different webserver (because it's up all of the time, rather than the one I'm messing with).
If any of you can help then I'd be most grateful. Like I said, I'm fairly new to this stuff so please treat me as a beginner when replying!
Regards,
Dan Falconar
I'm new to Apache and PHP, and so I've attempted to set up a web server whereby I can have a play with them. I'm running Apache 2.0.49 with PHP5.0.0 RC1 on RedHat 9. Apache is working fine as a web server, and I even have it working with CGI.
When I attempt to open a simple php document using I get the error message:
Forbidden
You don't have permission to access /test/phptest.php on this server.
I've changed the permissions on the test folder to 0777 and it still comes up with the same message. I've put everything in httpd.conf that is recommend on php.net, and so I'm really scratching my head as to why it doesn't work. I think I must be missing something in my httpd.conf file... For your reference, a copy of my httpd.conf file is available at:
And the PHP file I'm trying to run is:
Please note that the above files are hosted on a completely different webserver (because it's up all of the time, rather than the one I'm messing with).
If any of you can help then I'd be most grateful. Like I said, I'm fairly new to this stuff so please treat me as a beginner when replying!
Regards,
Dan Falconar