Their site runs on ExpressionEngine and uses ForceType in the htaccess file to change the name of the file (to “site”). Like this. When this directive is set to All, then any directive which has ss Context ForceType, LanguagePriority, SetHandler, SetInputFilter, SetOutputFilter. If yes, please add the below code in ss file under the account. AddHandler application/ >> Server with php5.
|Published (Last):||16 April 2016|
|PDF File Size:||5.90 Mb|
|ePub File Size:||11.83 Mb|
|Price:||Free* [*Free Regsitration Required]|
Old servers only This will fail after upgrading to 2. This page was not helpful.
Results 1 to 16 htacccess The time now is So, something like that but with the ability to be as cross-server as possible, and able to limit it to only one file. It does work in top-level forcwtype AND subdirectories and it doesn’t need hardcoding the RewriteBase. True, but putting that in answer as a warning might not be bad idea, as we know few people might go ahead and copy paste it.
Sign up using Facebook.
.htaccess – ForceType/SetHandler code – why does this work? – Server Fault
So, for a virtual host htaccezs on portthe apache directives would look like this: Make a file named.
For complex scripts, you’d usually place this php. DefaultType has been removed in Apache 2. Say you’re using the above tutorial link and come up to the place where the author talks about the following: Frocetype above code somehow works, but I’m not sure why though Trust me, it’s an extremely special file, and this is the only way to do it. Join Date May Location localhost Posts Tigger 6, 3 26 In response to the previous messages, for apache, there is a easier way to set files without “.
Another way to hide php is by removing the extension completely, like so: Email Required, but never shown. Order Now On the hunt for a great deal?
To hide PHP, you need following php.
Our weekly Insider newsletter is for you. Web Hosting Talk Team.
What about this in a. By registering you’ll gain: This will make sure that all requests to http: I found the same answer as kbk. Sign up using Email and Password. The reason is that safe mode sets global limitations on the entire server, which can then be turned on or left off for each specific virtual host. A few simple techniques can help to hide PHPpossibly slowing down an attacker who is attempting to discover weaknesses in your system.