You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Yujin Boby <vu...@yahoo.com> on 2005/01/24 22:33:23 UTC
[users@httpd] Apache mod rewrite not working
Hi,
I installed Apache 2 with
./configure -prefix=/usr/local/apache2
--enable-rewrite
But i can't get .htaccess working.
My .htaccess is
---
[root@server12 freebb]# cat .htaccess
RewriteEngine On
RewriteRule p.html new_forum.php
[root@server12 freebb]#
----
http://bb.netfreehost.com/.htaccess
phpinfo
http://bb.netfreehost.com/phpinfo.php
httpd.conf
http://bb.netfreehost.com/httpd.conf.txt
But when i access my site
http://bb.netfreehost.com/p.html
I am getting 404 Error message, i need to show the
new_forum.php file.
How do i get it working ?
Regards,
Yujin
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] Apache mod rewrite not working
Posted by "Andy J.M." <ap...@yourimedia.com>.
Check your AllowOveride in httpd.conf. :)
>-----Original Message-----
>From: Yujin Boby [mailto:vu3prx@yahoo.com]
>Sent: Monday, January 24, 2005 4:33 PM
>To: users@httpd.apache.org
>Subject: [users@httpd] Apache mod rewrite not working
>
>Hi,
>
>I installed Apache 2 with
>
>./configure -prefix=/usr/local/apache2
>--enable-rewrite
>
>But i can't get .htaccess working.
>
>My .htaccess is
>
>---
>[root@server12 freebb]# cat .htaccess
>RewriteEngine On
>RewriteRule p.html new_forum.php
>[root@server12 freebb]#
>----
>
>http://bb.netfreehost.com/.htaccess
>
>phpinfo
>
>http://bb.netfreehost.com/phpinfo.php
>
>httpd.conf
>
>http://bb.netfreehost.com/httpd.conf.txt
>
>But when i access my site
>
>http://bb.netfreehost.com/p.html
>
>I am getting 404 Error message, i need to show the
>new_forum.php file.
>
>How do i get it working ?
>
>Regards,
>
>Yujin
>
>
>
>
>__________________________________
>Do you Yahoo!?
>Meet the all-new My Yahoo! - Try it today!
>http://my.yahoo.com
>
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org