Re: [PHP] Error on .htaccess
> In all the servers i had tested my system i dont have any problem, but in > this server the apache are displaying to me the error 500 "Internal Server > Error". > > Someone can say tome what is wront with my .htaccess? > > RewriteEngine On > > RewriteCond %{REQUEST_FILENAME} !-f > RewriteCond $1 !-d > RewriteRule ^(.*)$ load.php?$1 [QSA,L] > > > This server are running PHP 5.2.9 and Apache 1.3.41 (Unix). > > Regards, > Igor Escobar > systems analyst & interface designer > www . igorescobar . com > hi Igor, try this and make sure load.php exist in your root web folder. RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond $1 !-d RewriteRule ^(.*)$ /load.php?$1 [QSA,L] not sure what you are trying to achieve with this line RewriteRule ^(.*)$ /load.php?$1 [QSA,L] i you mean to pass the query string, replace $1 with %{QUERY_STRING} good luck virgil http://www.jampmark.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Error on .htaccess
On Wed, Apr 1, 2009 at 10:39, Igor Escobar wrote: > In all the servers i had tested my system i dont have any problem, but in > this server the apache are displaying to me the error 500 "Internal Server > Error". > > Someone can say tome what is wront with my .htaccess? This is a question for the Apache list, Igor, it has nothing to do with PHP in this particular case. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ 50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Error on .htaccess
In all the servers i had tested my system i dont have any problem, but in this server the apache are displaying to me the error 500 "Internal Server Error". Someone can say tome what is wront with my .htaccess? RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond $1 !-d RewriteRule ^(.*)$ load.php?$1 [QSA,L] This server are running PHP 5.2.9 and Apache 1.3.41 (Unix). Regards, Igor Escobar systems analyst & interface designer www . igorescobar . com