View Single Post
Old 16th November 2008, 00:52
_X_ _X_ is offline
Senior Member
Join Date: Oct 2008
Posts: 247
Thanks: 8
Thanked 37 Times in 35 Posts

Just to repeat for anyone interested into setting ISPConfig for Joomla 1.0.x:

htaccess - with support for SEFurl plug-ins:
RewriteEngine On
RewriteBase /

RewriteRule ^(content/|component/) index.php

RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php

RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule ^(.*)$ index.php [F,L]
Apache Directives (Optional): -change webXXX with your configuration
<Directory "/var/www/webXXX/web">
Options FollowSymLinks
php_admin_flag register_globals Off
php_admin_value disable_functions "show_source system shell_exec passthru exec phpinfo popen proc_open"
php_admin_flag allow_url_fopen Off
php_admin_flag magic_quotes_gpc On
php_admin_value session.save_path "/var/www/webXXX/phptmp/"
php_admin_value open_basedir "/var/www/webXXX/"
and PHP Safe Mode dissabled - Joomla 1.0.x doesnt work with this option enabled.

Last edited by _X_; 16th November 2008 at 14:52.
Reply With Quote