寻找一些关于重写URL';s使用PHP和/或htaccess
我想使用PHP和/或.htaccess重写URL,以便用户在访问时能够访问寻找一些关于重写URL';s使用PHP和/或htaccess,php,.htaccess,mod-rewrite,Php,.htaccess,Mod Rewrite,我想使用PHP和/或.htaccess重写URL,以便用户在访问时能够访问 我有点不知道怎么做。这是一个好主意吗?如果mod rewrite被激活,则应在.htaccess中工作: RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?page=$1 谢谢,但这样做时我会看到一个错误页面。404找不到服务器找不到请求的页面:mysite.com/profile(端口80)在der h
我有点不知道怎么做。这是一个好主意吗?如果mod rewrite被激活,则应在.htaccess中工作:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?page=$1
谢谢,但这样做时我会看到一个错误页面。404找不到服务器找不到请求的页面:mysite.com/profile(端口80)在der httpd.conf geladen中是否包含das模块?