You are not logged in.
Hi,
I activated the mod_rewrite in apache config file. Ok.
I created the .htaccess file:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>
But my codeigniter application (and any other application) doesn't works!
My httpd-userdir.conf:
# Settings for user home directories
#
# Required module: mod_authz_core, mod_authz_host, mod_userdir
#
# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received. Note that you must also set
# the default access control for these directories, as in the example below.
#
UserDir public_html
#
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
#
<Directory "/home/*/public_html">
AllowOverride All
Options FollowSymLinks
Require method GET POST OPTIONS
</Directory>
I get the 404 error message.
What happens?
I always did my applications without rewriting url but now I'm wants to use and I can't
Thanks.
Offline
Similar problem here... my .htaccess files with mod rewrite rules don't work... i searched a researched with no solutions. This is badly affecting my workflow
Last edited by quimkaos (2015-01-22 15:01:50)
Offline