Welcome Guest, Not a member yet? Register   Sign In
help with modrewrite and addhandler
#1

[eluser]Unknown[/eluser]
My host has php4 enabled by default, but php5 is installed. So, as suggested by the host, I updated my .htaccess file to look like this:

Code:
AddHandler application/x-httpd-php5 .php
RewriteEngine on
RewriteCond $1 !^(index\.php|images|style\.css|ie6\.css|cp_styles\.css|scripts|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]

When I add that line, I get: "No input file specified".

It works fine when I go to http://domain.com/index.php

Also, all the other urls work fine, like http://domain.com/log

Any ideas?




Theme © iAndrew 2016 - Forum software by © MyBB