Welcome Guest, Not a member yet? Register   Sign In
Since 4 days trying to solve this: set up friendly urls in dreamhost getting a 404
#1

[eluser]jorgeakanieves[/eluser]
I´m in trouble...

I´ve a codeigniter 1.5.2 modular project in DREAMHOST and I want to set friendly urls in .htaccess...

When I go to a frienly url, there is a white page with: "No input file Specified" or "404 file not found"

For example this http://www.project.com/contact

But if I go to http://www.project.com/index.php/users/p...rm_contact all goes right

I´ve no problem in localhost(my local pc dev) with the friendly urls...

I´ve set up my .htaccess with this:

Code:
<ifmodule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    
    RewriteRule ^contact$ /myrootpathtoproject/index.php/users/public/form_contact [L]

    RewriteCond %{REQUEST_URI} ^/system.*
    RewriteRule ^(.*)$ index.php?/$1 [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.+)$ index.php?/$1 [L]
    
</ifmodule>

and other parameters in config.php:

Code:
$config['index_page'] = "";
$config['uri_protocol']    = "REQUEST_URI" or $config['uri_protocol']    = "PATH_INFO";
$config['url_suffix'] = "";

What´s wrong???


Messages In This Thread
Since 4 days trying to solve this: set up friendly urls in dreamhost getting a 404 - by El Forum - 11-11-2009, 01:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB