Jump to content

Few Questions


clanstyles

Recommended Posts

Hey, i'm new to Mod_Rewrite.

How secure is it? (I don't know that it is ant even not secure..)

 

Also, I have my mod_rewrite as:

 

RewriteEngine On
RewriteBase /

RewriteRule ^home$ /index.php?c=$1 [QSA,L]
RewriteRule (.*)\$ $1.php [QSA,L,R=404]

And it gives me an internal server error. I want it like were all 404's errors to go a page and I don't get how to do it.

 

Also, is it possible to make it so like it doesn't go http://mysite.com/index.php it goes http://mysite.com/home as the first page?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/71455-few-questions/
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.