linuxMaestro
Instructor
my host upgraded to phpsuexec and now my page won't load because suexec doesn't like the php_value's in .htaccess file, which generates a 500 Internal server error
Does anyone know a work around for this?
[Sat Feb 14 01:56:21 2004] [alert] [client 209.109.241.133] /home/thedip/public_html/gallery/.htaccess: Invalid command 'php_value', perhaps mis-spelled or defined by a module not included in the server configuration
# BEGIN Gallery section
# (Automatically generated. Do no edit this section)
# Note: still under development, so format may change.
# If you edit this file, make a backup before runnng the Config. Wizard.
php_value post_max_size 20971520
php_value upload_max_filesize 20971520
php_value magic_quotes_gpc off
php_flag session.bug_compat_warn off
Options -Indexes +FollowSymLinks
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /gallery/
RewriteRule ^([^\.\?/]+)/([0-9]+)$ /gallery/view_photo.php?set_albumName=$1&index=$2 [QSA]
RewriteRule ^([^\.\?/]+)/([A-Za-z_0-9\-]+)$ /gallery/view_photo.php?set_albumName=$1&id=$2 [QSA]
RewriteRule ^([^\.\?/]+)/$ /gallery/$1 [R]
RewriteRule ^([^\.\?/]+)$ /gallery/view_album.php?set_albumName=$1 [QSA]
</IfModule>
# END Gallery section. Add User changes below this line
Does anyone know a work around for this?
[Sat Feb 14 01:56:21 2004] [alert] [client 209.109.241.133] /home/thedip/public_html/gallery/.htaccess: Invalid command 'php_value', perhaps mis-spelled or defined by a module not included in the server configuration
# BEGIN Gallery section
# (Automatically generated. Do no edit this section)
# Note: still under development, so format may change.
# If you edit this file, make a backup before runnng the Config. Wizard.
php_value post_max_size 20971520
php_value upload_max_filesize 20971520
php_value magic_quotes_gpc off
php_flag session.bug_compat_warn off
Options -Indexes +FollowSymLinks
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /gallery/
RewriteRule ^([^\.\?/]+)/([0-9]+)$ /gallery/view_photo.php?set_albumName=$1&index=$2 [QSA]
RewriteRule ^([^\.\?/]+)/([A-Za-z_0-9\-]+)$ /gallery/view_photo.php?set_albumName=$1&id=$2 [QSA]
RewriteRule ^([^\.\?/]+)/$ /gallery/$1 [R]
RewriteRule ^([^\.\?/]+)$ /gallery/view_album.php?set_albumName=$1 [QSA]
</IfModule>
# END Gallery section. Add User changes below this line