Re: Error on .htaccess

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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
> <IfModule mod_rewrite.c>
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond $1 !-d
> RewriteRule ^(.*)$ load.php?$1 [QSA,L]
> </IfModule>
>
> 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.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond $1 !-d
RewriteRule ^(.*)$ /load.php?$1 [QSA,L]
</IfModule>

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux