You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "D. Hunter" <li...@gmail.com> on 2006/02/27 16:08:10 UTC
[users@httpd] Re: rewrite module
>
> iive just installed apache 2.2
> im using .htaccess to rewrite
> i chceked to see whats loaded & its says the following:
>
> Loaded Modules:
> core_module (static)
> authn_file_module (static)
> authn_default_module (static)
> authz_host_module (static)
> authz_groupfile_module (static)
> authz_user_module (static)
> authz_default_module (static)
> auth_basic_module (static)
> include_module (static)
> filter_module (static)
> log_config_module (static)
> env_module (static)
> setenvif_module (static)
> ssl_module (static)
> mpm_prefork_module (static)
> http_module (static)
> mime_module (static)
> status_module (static)
> autoindex_module (static)
> asis_module (static)
> cgi_module (static)
> negotiation_module (static)
> dir_module (static)
> actions_module (static)
> userdir_module (static)
> alias_module (static)
> rewrite_module (static)
> so_module (static)
> php4_module (shared)
> Syntax OK
>
>
> but when ever i click on a link that should be redirected all i get is a
> 404 page, but it used to work when i was running under 1.3 & 2.0, could
> someone point me in the right dirrection how to get the rewrite module
> active.
>
im using vhosts as im running 2 sites off one ip
the content of my .htaccess is
RewriteEngine On
RewriteRule ^go-(.*).* go.php?uri=$1 [L,NC]
RewriteRule ^s-(.*).html search.php?q=$1 [L,NC]
RewriteRule ^n-(.*).html news.php?q=$1 [L,NC]
RewriteRule ^c-(.*)-(.*).html category.php?id=$1&name=$2 [L,NC]
--
D. Hunter
Re: [users@httpd] Re: rewrite module
Posted by "D. Hunter" <li...@gmail.com>.
yeah that did the trick thnx buddy
not sure why i didnt notice it before
On 2/27/06, Sascha Kersken <sk...@lingoworld.de> wrote:
>
> Hi,
>
> did you check the AllowOverride setting for the directory containing the
> .htaccess file?
>
>
> Regards
> Sascha
>
--
D. Hunter
Re: [users@httpd] Re: rewrite module
Posted by Sascha Kersken <sk...@lingoworld.de>.
Hi,
did you check the AllowOverride setting for the directory containing the .htaccess file?
Regards
Sascha