鲁公网安备 37050202370667号
中国卫国简介(推荐1920*1080)
鲁公网安备 37050202370667号
鲁ICP备17006873号-1
每 篇 文 章 都 值 得 深 思
由于网络波动,这里展示了精简版页面,如需完全版请刷新页面。
httpd服务安装以及常见问题
qing
301重定向
修改httpd配置文件httpd.conf。
修改需要重定向的目录,如:
AllowOverride All # Allow open access: Require all granted
即将AllowOveride 由None改为All
配置重定向的具体url
# Redirect: Allows you to tell clients about documents that used to # exist in your server's namespace, but do not anymore. The client # will make a new request for the document at its new location. # Example: Redirect 301 /
http://59.111.123.123
填一下状态码、原路径、目的url
重启httpd服务即可。