.htaccess - Redirect Public IP to Subfolder Apache -
i redirect public ip goes specific folder within apache web server. how can done. if create sub directory configs have .htaccess file public ip can access new sub directory? if there improve way please suggest such thanks.
below have tried want alter domain public ip address instead.
rewriteengine on rewritecond %{http_host} ^(www.)?domain.com$ [nc,or] rewritecond %{request_uri} !^/folder/ rewriterule ^(.*)$ /folder/$1 rewritecond %{http_host} ^(www.)?domain.com$ rewriterule ^(/)?$ igovtt/index.php [l] options -indexes
apache .htaccess
No comments:
Post a Comment