Welcome Guest, Not a member yet? Register   Sign In
Problems with php5 on .httaccess
#1

[eluser]1234qwer[/eluser]
hello.


On my server to access php5 I need add the following lines to .htaccess file:


Code:
addtype application/x-httpd-php5 .html .htm
AddType application/x-httpd-php5 .php
AddHandler application/x-httpd-php5 .php


What I did is change this to:




Code:
Options +FollowSymlinks
RewriteEngine on

addtype application/x-httpd-php .html .htm

Rewritecond %{REQUEST_FILENAME} !-f
RewriteRule \.php$ /error404.html



RewriteBase /

RewriteCond $1 !^(\/|index\.php|system|application|iservices|mod_css|seo|Plugins-Testimonios|links|mod_img|mod_galeria|mod_scripts|includes|adm_img|adm_css|resize|views|templates|img|imgs|js|css|images|tester|system\/plugins|robots\.txt|language|css\/)

RewriteRule ^(.*)$ http://www.site.com/index.php/banano/index/$1 [L]


addtype application/x-httpd-php5 .html .htm
AddType application/x-httpd-php5 .php
AddHandler application/x-httpd-php5 .php

And now in the front side what I have is:


"No input file specified. "

That`s all!!

The server people says:

Quote:This issue caused by your rewrite rule.

Please correct it.

Additional information can be found there: http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html

But I have no idea in how can I work with mode rewrite, can you help me?

thanks.


Messages In This Thread
Problems with php5 on .httaccess - by El Forum - 02-19-2010, 09:44 AM
Problems with php5 on .httaccess - by El Forum - 02-19-2010, 11:44 PM
Problems with php5 on .httaccess - by El Forum - 02-20-2010, 10:34 AM
Problems with php5 on .httaccess - by El Forum - 02-20-2010, 10:45 AM
Problems with php5 on .httaccess - by El Forum - 02-20-2010, 11:24 AM
Problems with php5 on .httaccess - by El Forum - 02-20-2010, 06:51 PM
Problems with php5 on .httaccess - by El Forum - 02-20-2010, 07:39 PM
Problems with php5 on .httaccess - by El Forum - 02-20-2010, 08:18 PM
Problems with php5 on .httaccess - by El Forum - 02-21-2010, 07:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB