Overwrite HTACCESS, In some SubDIR |
Overwrite HTACCESS, In some SubDIR |
Dag |
Jan 26 2017, 07:41 AM
Post
#1
|
Advanced Member Group: Members Posts: 107 Joined: 24-October 06 Member No.: 549 |
I have next lines in my htaccess in the web site root:
CODE DirectoryIndex index index.html index.htm index.php Options +MultiViews AddHandler fcgid-script .php5 .php4 .php .php3 .php2 .phtml .html .htm FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php5 FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php4 FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php3 FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php2 FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .phtml FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .html FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .htm AddHandler cgi-script .php AddType text/html .php How to overwrite (kill, cancel, dismiss…) all above to have files .PHP to works without HTML in some DIR as WebSiteRoot/SomeDIR/do.php Thanks in advance. |
Lo-Fi Version | Time is now: 8th June 2024 - 02:43 AM |