为什么我修改了apache目录的位置,他还是打开修改后的目录下的htdocs
我将默认的htdocs目录改为
ServerRoot "E:/website"DocumentRoot "E:/website"<Directory "E:/website">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all</Directory>
可是他依然不屈不挠的去访问website\htdocs下的index.html,根本无视website目录下的index.html
我把htdocs目录删除他就提示403错误,You don't have permission to access / on this server
我到底要怎么改才行,求解啊
我将默认的htdocs目录改为
ServerRoot "E:/website"DocumentRoot "E:/website"<Directory "E:/website">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all</Directory>
可是他依然不屈不挠的去访问website\htdocs下的index.html,根本无视website目录下的index.html
我把htdocs目录删除他就提示403错误,You don't have permission to access / on this server
我到底要怎么改才行,求解啊
另外,修改配置文件后别忘了重启Apache服务。
我设置成虚拟目录了,但是还是不去访问,我还要设置什么?还是把htdocs目录删了就行了?我是新手,请赐教……
Alias /manual "E:/website"<Directory "E:/website">
Options Indexes FollowSymLinks MultiViews IncludesNoExec
AddOutputFilter Includes html
AllowOverride None
order allow,deny
Allow from all
</Directory>
还是不行