Jump to content

[Inactive] .htaccess configuration in MVC


munny

Recommended Posts

Hi, there. I have a website inside /home/munny/public_html/skeletronik/ and there there is a .htaccess file that controls directives to /public/index.php in a MVC standard created by me. I'm new to .htaccess. Well, that's my .htaccess file configuration:
 

RewriteEngine onRewriteCond %{REQUEST_FILENAME} !-fRewriteRule ^(.*)$ /public/index.php?url=$1 [QSA,L]

The result is:

Not Found
The requested URL was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.



What do you suggest for RewriteRule?

Edited by munny
Link to comment
Share on other sites

What are you trying to do exactly? Rewrite everything to index.php?

I've already did it. All I did was:

RewriteEngine onRewriteCond %{REQUEST_FILENAME} !-fRewriteRule ^(.*)$ /home/munny/public_html/skeletronik/public/index.php?url=$1 [QSA,L]
Edited by munny
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...