Ver Mensaje Individual
  #8 (permalink)  
Antiguo 23/10/2010, 21:56
Avatar de emprear
emprear
Colaborador
 
Fecha de Ingreso: junio-2007
Ubicación: me mudé
Mensajes: 8.388
Antigüedad: 17 años, 4 meses
Puntos: 1567
Respuesta: apache en local bajo windows y mod-rewrite

cauly:

con solo Descomentar las lineas el módulo se va a cargar, podés verificarlo usando Apache -M , que te muestra los módulos cargados

R:\xampp\apache\bin>apache -M
Loaded Modules:
core_module (static)
win32_module (static)
mpm_winnt_module (static)
http_module (static)
so_module (static)
actions_module (shared)
alias_module (shared)
asis_module (shared)
auth_basic_module (shared)
auth_digest_module (shared)
authn_alias_module (shared)
authn_anon_module (shared)
authn_dbd_module (shared)
authn_dbm_module (shared)
authn_default_module (shared)
authn_file_module (shared)
authz_dbm_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cache_module (shared)
mem_cache_module (shared)
cern_meta_module (shared)
charset_lite_module (shared)
cgi_module (shared)
dav_module (shared)
dav_fs_module (shared)
deflate_module (shared)
dir_module (shared)
env_module (shared)
expires_module (shared)
ext_filter_module (shared)
headers_module (shared)
ident_module (shared)
include_module (shared)
info_module (shared)
isapi_module (shared)
ldap_module (shared)
log_config_module (shared)
mime_module (shared)
mime_magic_module (shared)
negotiation_module (shared)
rewrite_module (shared)
setenvif_module (shared)
speling_module (shared)
status_module (shared)
unique_id_module (shared)
userdir_module (shared)
usertrack_module (shared)
vhost_alias_module (shared)
ssl_module (shared)
php5_module (shared)
perl_module (shared)
Syntax OK



Posteriormente para la carpeta en que vas a instalar tu web (htdocs, supongamos)
<Directory "R:/xampp/htdocs">
Options FollowSymLinks
AllowOverride All
Order deny,allow
allow from all
</Diredctory>


Tene en cuenta que la directiva NECESARIA para poder ejecutar ModRewrite es
Options FollowSymLinks

las otra estan en realidad para que puedas crear otros .htaccess en tu carpeta raíz y subdirectorios. Las directivas rewrite bien podrias hacerlas en server config, virtual host ó directory

Saludos

__________________
La voz de las antenas va, sustituyendo a Dios.
Cuando finalice la mutación, nueva edad media habrá
S.R.

Última edición por emprear; 23/10/2010 a las 22:44