Welcome Guest, Not a member yet? Register   Sign In
htaccess on xampp?
#4

[eluser]Lost_all_hope[/eluser]
Sorted it

after digging further and put my glasses back on :-)

he's how it should be wrote to work with VHOST on XAMPP

httpd-vhosts.conf

## CodeIgnightor
<VirtualHost *:80>
##ServerAdmin [email protected]
DocumentRoot "C:\sites\ci"
ServerName ci
<Directory "C:\sites\ci ">
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

.htaccess file (root of project)

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]

Cheers

Mal


Messages In This Thread
htaccess on xampp? - by El Forum - 10-19-2010, 05:32 AM
htaccess on xampp? - by El Forum - 10-19-2010, 06:10 AM
htaccess on xampp? - by El Forum - 10-19-2010, 07:22 AM
htaccess on xampp? - by El Forum - 10-19-2010, 07:50 AM
htaccess on xampp? - by El Forum - 10-19-2010, 08:00 AM
htaccess on xampp? - by El Forum - 06-15-2011, 07:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB