I used CI and created my website |
[eluser]daulex[/eluser]
awesome, I wish I could read it how did you get rid of the index.php in the url ? your links are site.com/pay/something, how did you drop the index.php ?
[eluser]chmod[/eluser]
it's easy. open config.php and, $config['index_page'] = "index.php" => $config['index_page'] = ""; that's all.
[eluser]Jamie Rumbelow[/eluser]
You also need a .htaccess for Apache to forward it properly. But nice site!
[eluser]daulex[/eluser]
[quote author="Jemgames" date="1213548657"]You also need a .htaccess for Apache to forward it properly. But nice site![/quote] can you give a working example?
[eluser]Pascal Kriete[/eluser]
From the user guide. Code: RewriteEngine on
[eluser]daulex[/eluser]
[quote author="inparo" date="1213552017"]From the user guide. Code: RewriteEngine on I tried that, domain.com/index.php/aboutus works, domain.com/aboutus doesn't ( I'm using ASO, everything should be fine... ) what do I do?
[eluser]chmod[/eluser]
try : <Directory "D:/AppServ/www/"> Options Indexes FollowSymLinks MultiViews ExecCGI RewriteEngine on RewriteCond $1 !^(css|bbs|images|javascript|fckeditor|index\.php|robots\.txt) RewriteRule ^(.*)$ /index.php/$1 [L] AllowOverride All Order allow,deny Allow from all </Directory>
[eluser]daulex[/eluser]
[quote author="chmod" date="1213617456"]try : <Directory "D:/AppServ/www/"> Options Indexes FollowSymLinks MultiViews ExecCGI RewriteEngine on RewriteCond $1 !^(css|bbs|images|javascript|fckeditor|index\.php|robots\.txt) RewriteRule ^(.*)$ /index.php/$1 [L] AllowOverride All Order allow,deny Allow from all </Directory>[/quote] 500: Internal Server Error
|
Welcome Guest, Not a member yet? Register Sign In |