[OT] mod_rewrite
Godkväll!
Hur jag än försöker får jag inte mod_rewrite att fungera.
Vad jag kan se är modulen laddad OK.
Jag har provat att skriva in regler i både apache2:s konfigurationsfil
och i .htaccess-fil utan skillnad. Inte ens en 500:a krasch.
Och jag använder detta för att testa:
RewriteEngine on
RewriteRule ^old\.html$ new.html
apache2 -l
Compiled in modules:
core.c
mod_access.c
mod_auth.c
mod_log_config.c
mod_logio.c
mod_env.c
mod_setenvif.c
prefork.c
http_core.c
mod_mime.c
mod_status.c
mod_autoindex.c
mod_negotiation.c
mod_dir.c
mod_alias.c
mod_so.c
/etc/apache2/mods-enabled:
cgi.load php4.conf php4.load rewrite.load userdir.conf userdir.load
# a2enmod
Which module would you like to enable?
Your choices are: actions asis auth_anon auth_dbm auth_digest auth_ldap
cache cern_meta cgid cgi dav_fs dav deflate disk_cache expires
ext_filter file_cache headers imap include info ldap mem_cache
mime_magic php4 proxy_connect proxy_ftp proxy_http proxy rewrite
speling ssl suexec unique_id userdir usertrack vhost_alias
Module name?
rewrite This module is already enabled!
Reply to: