. Htaccess problems this post was last edited by u010572351 at 2013-08-1722: 41: 52. I used a framework and url rewriting. my program was placed in htdocs under apache. it can run normally without any problems. my apache and htdocs are in. htaccess problems
At last, this post was edited by u010572351 at 22:41:52. I used a framework and a url Rewrite. my program was stored in htdocs under apache. it can run normally without any problems,
My apache and htdocs are on drive C,
Then I configured a virtual host for apache. create a web directory on disk D, and then the program root directory is also put. htaccess file, but unfortunately it is here. htaccess is invalid,
My feeling is that. htaccess should take effect under the htdocs directory under the apache installation directory. I don't know if this is the case. Is there any way for my d-drive program to make. htaccess take effect?
Simple:
C:/apache/htdocs. htaccess takes effect
D:/web (virtual host). htaccess does not take effect
Thank you!
Share:
------ Solution --------------------
Add configuration files
<Directory D:/web>
AllowOverride All
</Directory>
Restart apache