Saturday 15 June 2013

php - Display folder for replace my domain -


Hello, I have a URL like aaa.com/folder , but it might be directly < Strong> aaa.com ?

I have already tested it in HTACAC

  & lt; VirtualHost *: 80 & gt; ServerAdmin webmaster@siteprincipal.com DocumentRoot / public_html / porn server name www.siteprincipal.com ServerAlways siteprincipal.com Custom Log Log / Principal-Access_log Combined ScriptAllus / CGI-bin / Home / Principal / CGI-bin / AdHandlerX-HPD- PHP5 Php & lt; / VirtualHost & gt; Hi, I have a URL like aaa.com/folder, but it is possible  

< Blockquote>

to display AAA dot com directly?

First of all, what to get rid of in your HTACAC. None of these items is included in the HTX file, they are all in the vhost configurations of your server.

You need to make sure that mod_rewrite is turned on, just add it to your Http:

  RewriteEngine On RewriteCond ^ (? Folder /) / folder% {REQUEST_URI } [L]  

No comments:

Post a Comment