httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "D. Hunter" <liquid...@gmail.com>
Subject [users@httpd] Re: rewrite module
Date Mon, 27 Feb 2006 15:08:10 GMT
>
> 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

Mime
View raw message