custom php.ini conflict with current htaccess
Posted by: basketmen
Posted on: 2007-07-01 05:55:00
i now maybe support is not officially to answer this, but maybe you can share information that will help
in past host i can use custom php.ini (shared hosting too) to complete what i needed, all works fine there
in dreamhost now i can create custom php.ini too (following this instruction http://wiki.dreamhost.com/Custom_PHP.ini )
the instruction says that i must add this line in htaccess :
AddHandler php-cgi .php
Action php-cgi /cgi-bin/php.cgi
the custom php.ini only works if i remove current htaccess (its conflict with present htacces) :
RewriteCond %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_URI} !(adminarsitek/|modcp/|chat|cron)
RewriteRule ^(.*.php)$ vbseo.php?vbseourl=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !.(jpg|gif)$
RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(adminarsitek|modcp|clientscript|cpstyles|images )/
RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]
what i need to do, i had working on this for two days and no solution yet, so i post here
i need custom php.ini because i need to enable allow_url_fopen=on