mode rewrite |
[eluser]kosaidpo[/eluser]
hey guys i've been stugglin with this since last night and now there's an imporvement LOL i can say apache is tlkin to me now but sadly i dont tlk his lang he's sayin Quote:the server encountered an internal error or misconfiguration and was unable to complete your request. and my application path would be /opt/lampp/htdocs/www/MyApplication so i type in the url bar localhost/www/MyApplication and my htaccess file Quote:RewriteEngine on tnx in advance
[eluser]danmontgomery[/eluser]
Have you checked the apache error log, like it says to? Code: RewriteRule ^(.*)$ /www/CI_forum/index.php/$1 [L] .htaccess should be in the same directory as index.php, so no path should be necessary. Code: RewriteRule ^(.*)$ index.php/$1 [L] The url you should be going to is index.php, not your application path... If that directory isn't your web root, you need to add RewriteBase to .htaccess... In this case, it looks like all of your files are in /www/CI_forum/, so in .htaccess: Code: RewriteEngine on I'm not sure that moving your system/application directories before you even get the default controller working is a great idea...
[eluser]kosaidpo[/eluser]
tnx bro here's my eror-log Code: [Wed Mar 24 21:17:39 2010] [error] [client 127.0.0.1] client denied by server configuration: /opt/lampp/htdocs/index.php, referer: http://localhost/www/ and with the htacces u gave me icant access to my application at all givin me a 403 error and even i turned back my application folder under the system folder still the same
[eluser]kosaidpo[/eluser]
heyy guys i solved it with this no need fo base rewritin or anythin Code: #si ce n'est ni un fichie ni un dossier but i still have some miss understandin the application CI it counts my controllers as what a file ??i dont think ,cus if so it wont be any redirection am i right ?? |
Welcome Guest, Not a member yet? Register Sign In |