How does Apache set up domain name access and go directly to subdirectories?
For example, my website is: http://jiaoshi.xinxuenet.com/when the person who is visiting enters this URL from the browser address bar,
I hope he directly open http://jiaoshi.xinxuenet.com/bbs/directly into this directory, how should be set???
Add jump codes without redirects and files
Reply to discussion (solution)
Httpd-vhosts.conf in the configuration can meet the landlord needs?
Httpd-vhosts.conf in the configuration can meet the landlord needs?
You mean to configure multiple virtual ports and point directly to the BBS directory?
Is your server Linux or Windows? Configure the virtual host to point to the/bbs directory.
Is your server Linux or Windows? Configure the virtual host to point to the/bbs directory.
I know, with the. htaccess file.
Write directly
Rewriteengine on
Rewriterule ^index.php$ hotel_search/index.php