Apache - mod auth external with php
Hello,
i am trying to use mod_authnz_external for my subversion on apache 2.2.11 with an php authentication script. Iam trying to build nearly the same as the one here http://www.robpeck.com/2010/02/mysql...nd-subversion/ But i dont get this far: The logfiles say: [Wed Apr 06 16:19:46 2011] [notice] Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8k DAV/2 PHP/5.3.6 SVN/1.6.2 configured -- resuming normal operations exec of '/app/apache2/htdocs/phptest.php' failed: (13) Permission denied (tryed to locate the phptest.php in other directories like /sbin didnt help, too. My httpd.conf is like Code:
Code:
#!/app/php5 Script is executeable 777. Can somebody help? |
Have you put the php module in the .conf file?
LoadModule php5_module modules/libphp5.so AddHandler php5-script php or is this module staticaly compiled into your version of apache path to apachectl -l will spill the beans on compiled in modules otherwise you need to add to your httpd.conf as a DSO as above |
You should mark this post as SOLVED
|
Quote:
Kind regards |
Quote:
OP, check the permissions on that file, and make sure it's owned by the same user as your Apache engine. Also, make sure the directory where the PHP file is read/write/execute for that user, and that the path name to the phptest.php file is correct, and that the file is in your DOCROOT, as specified in your Apache config, or is in some path that you can access via a web browser. |
All times are GMT -5. The time now is 01:40 AM. |