The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Overwrite HTACCESS, In some SubDIR
Dag
post Jan 26 2017, 07:41 AM
Post #1


Member
***

Group: Members
Posts: 89
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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th October 2019 - 08:30 PM