From 3eb5696b8ee245c48c11dd6aefbda531054a0eec Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 13 Jun 2012 18:43:31 +0200 Subject: reorg repo --- README.fedora | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 README.fedora (limited to 'README.fedora') diff --git a/README.fedora b/README.fedora new file mode 100644 index 0000000..e193257 --- /dev/null +++ b/README.fedora @@ -0,0 +1,25 @@ +In order to activate mod_suphp support, /etc/httpd/conf.d/mod_suphp.conf +has to be edited. + +The commented line "suPHP_AddHandler ###HANDLER###" has to be uncommented, +for mod_suphp to work. + +After a restart of the httpd, php scripts should be executed with the +rights of the user owning them. + +In case you do need mod_php support for a certain virtual host or directory, +you can selectively disable mod_suphp and fall back to mod_php: + + + suPHP_Engine off + suPHP_RemoveHandler .php + php_admin_flag engine on + php_admin_flag register_globals on + + +This should do the trick nicely. The register_globals flag is purely optional +and should be avoided if possibly. + +Should you require mod_userdir support, in order to enable ~user URLs, you should set +check_vhost_docroot=false in the /etc/suphp.conf file, as currently suphp would fail +with an incorrect vhost. -- cgit