Jump to content
php.lv forumi

atkal par mod_rewrite


Recommended Posts

sagugleju šo:

 

1.Open httpd.conf

2.Remove the # from the line #LoadModule rewrite_module

3.Remove the # from the line #AddModule mod_rewrite.c

4.Restart the Apache process

 

 

manā httpd.conf failā nav vispār tādu "AddModule", nav ko atkomentēt.

 

phpinfo() rāda pie Loaded Modules:

core mod_win32 mpm_winnt http_core mod_so mod_access mod_actions mod_alias mod_asis mod_auth mod_autoindex mod_cgi mod_dir mod_env mod_imap mod_include mod_isapi mod_log_config mod_mime mod_negotiation mod_rewrite mod_setenvif mod_userdir mod_php5

 

kur dabūt to AddModule???

Link to comment
Share on other sites

paldies dievam, probleema atrisināta

 

guuglee izraku, ka .htaccess failā pirmā rinda jābūt sekojošai, bet ieteicējs nemācēja paskaidrot kāpēc:

 

DirectoryIndex index

 

tik daudz laika pačakarēju brrrrrrr...

Link to comment
Share on other sites

×
×
  • Create New...