• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I used CI and created my website

#11
[eluser]andreagam[/eluser]
This works for me:
Code:
<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteBase /
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>
<IfModule mod_security.c>
   SecFilterEngine Off
   SecFilterScanPOST Off
</IfModule>

Daulex, love your cat... :-)

#12
[eluser]chmod[/eluser]
[quote author="daulex" date="1213620266"][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 Sad[/quote]


you can download my http.conf
httpd.conf

#13
[eluser]daulex[/eluser]
[quote author="CI andrea" date="1213622161"]This works for me:
Code:
<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteBase /
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>
<IfModule mod_security.c>
   SecFilterEngine Off
   SecFilterScanPOST Off
</IfModule>

Daulex, love your cat... :-)[/quote]
thanks dude Smile this just gives me the index Sad

#14
[eluser]InterCoder[/eluser]
I'm using this mod_rewrite to get rid of the index.php in de URI:

Code:
RewriteEngine on

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

#15
[eluser]daulex[/eluser]
[quote author="InterCoder" date="1213640696"]I'm using this mod_rewrite to get rid of the index.php in de URI:

Code:
RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
[/quote]
same thing, domain.com/aboutus returns index Sad

#16
[eluser]InterCoder[/eluser]
Weird...

#17
[eluser]daulex[/eluser]
[quote author="InterCoder" date="1213643822"]Weird...[/quote]
I know, I kinda gave up on that Sad

#18
[eluser]jrad[/eluser]
i think you have to set the base_url first:

$config['base_url'] = http://domain.com/yoursite

then set:

$config['index_page'] = '';

then add .htaccess file on your codeigniter/system folder...

it worked for me...

#19
[eluser]daulex[/eluser]
[quote author="jrad" date="1213701483"]i think you have to set the base_url first:

$config['base_url'] = http://domain.com/yoursite

then set:

$config['index_page'] = '';

then add .htaccess file on your codeigniter/system folder...

it worked for me...[/quote]

I did that yesterday and it worked Smile yay! Big Grin


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.