Welcome Guest, Not a member yet? Register   Sign In
Clean URL's
#1

[eluser]LiquidFusi0n[/eluser]
Hi Guys,

Sorry to start of with my first post being a question, but I hope you don't mind.

I'm having some trouble getting the clean URL's to work, I have tried a couple different '.htaccess' files, but none seem to get the job done, leading me to believe It's my fault.

Apache's mod_rewrite is enabled in the httpd configuration and I have set the index page config option to.

Code:
$config['index_page'] = '';

Here are the contents of the '.htaccess' file:
Code:
RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php/$1 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

ErrorDocument 404 /index.php

This is placed in my document root (Outside of system, application etc...)

My httpd.conf file is set up (What is relevant) as such.

Quote:DocumentRoot "/Users/business/Sites"

<Directory />
Options FollowSymLinks
AllowOverride FileInfo
Order deny,allow
Deny from all
</Directory>

Any ideas would be greatly appreciated, oh and the error I get when trying to access a page without /index.php/whatever_page is a 404.

Regards,
LiquidFusi0n


Messages In This Thread
Clean URL's - by El Forum - 03-01-2012, 02:55 AM
Clean URL's - by El Forum - 03-01-2012, 03:30 AM
Clean URL's - by El Forum - 03-01-2012, 04:19 AM
Clean URL's - by El Forum - 03-02-2012, 03:00 AM
Clean URL's - by El Forum - 03-02-2012, 11:37 AM
Clean URL's - by El Forum - 03-02-2012, 12:40 PM



Theme © iAndrew 2016 - Forum software by © MyBB