Welcome Guest, Not a member yet? Register   Sign In
Store form data in database and email it to email address x
#13

[eluser]rhand_ci[/eluser]
I added
Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]

to a new .htaccess. Still http://localhost/ci/rentalform/index.php gives me a non CI error: The requested URL /index.php/rentalform/index.php was not found on this server. while http://localhost/ci/index.php/rentalform/index.php gives me a CI 404 and http://localhost/ci/index.php/rentalform/ gives me the form with broken styling.. Odd. But then I checked the pache error log and decided to use this .htaccess:
Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /ci/index.php/$1 [L]

And now I can reach http://localhost/ci/rentalform/ :-)

Now I only need the stylesheet loaded with
Code:
<link href="<?=base_url()?>style.css" rel="stylesheet" type="text/css">
to work..


Messages In This Thread
Store form data in database and email it to email address x - by El Forum - 02-28-2010, 06:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB