Jump to content

.htaccess


Recommended Posts

This is what happens:

 

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Link to comment
https://forums.phpfreaks.com/topic/152370-htaccess/#findComment-800216
Share on other sites

Try this one

 

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php
</IfModule>

 

Regards

Ranju

if I have done all of this, how can I now where the person types in kaas.php for example and the server assumes it is index.php change it back to index.php or /indexdir that is index.php

Link to comment
https://forums.phpfreaks.com/topic/152370-htaccess/#findComment-800275
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.