发新话题
打印

vps url rewrite 功能要怎么设置?

vps url rewrite 功能要怎么设置?

谢谢
wioiw

TOP

自己在windows xp做测试

1. 删除 #LoadModule rewrite_module modules/mod_rewrite.so 这句的 '#'

2.
<Directory />
    Options FollowSymLinks
    AllowOverride None     <===这里的None改成All
    Order deny,allow
    Deny from all
</Directory>
为了支持 .htacess

wordpress虽然没有了index.php出现,但是 permalinks 选择:
Date and name based (http://域名/wp/2008/06/20/sample-post/)
Numeric (http://域名/wp/archives/123 )
Custom, specify below
都不能访问.只有Default (http://域名/wp/?p=123 )才可以访问.
这是为什么. windows xp 下装 apache 2.2.9 和 php5.2.6测试的
wioiw

TOP

修改httpd.conf就可以吧,不需要什么特别的对待

TOP

不知道为什么首页可以打开但是静态化的页面就

The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

--------------------------------------------------------------------------------

Please try the following:

If you typed the page address in the Address bar, make sure that it is spelled correctly.

Open the 127.0.0.1 home page, and then look for links to the information you want.
Click the  Back button to try another link.
Click  Search to look for information on the Internet.



HTTP 404 - File not found
Internet Explorer
wioiw

TOP

windows好像不支持用apache的mod_rewrite的,要特定的mod才行的。
冰古blog

如果你觉得我的回复有用,请点击这里“评分”-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------↓↓↓加威望
免费短消息

TOP

引用:
原帖由 telon 于 2008-6-21 09:37 AM 发表
不知道为什么首页可以打开但是静态化的页面就

The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

-------------------- ...
.htaccess里面写对了么?

TOP

发新话题