apache2 - Trying to find where redirect on apache server is happening - Ask Ubuntu
i have redirect on website redirects www.mydomain.com/wordpress/index.php however, can not find location of redirect.
i removed entire site not coming home dir. checked .htaccess files.
is there way increase logs point of showing me redirect occurring?
you figured out now, here couple of tips:
- first one, check don't have
.htaccessdoing redirection (you did that) - make
grep -r wordpresson /etc/apache2/ directory, see if find redirection - very important: erase cache of browser! or use different 1 :)
here else had similar problem.
so, versions before 2.4, add:
rewriteengine on rewritelog "/var/log/apache2/rewrite.log" rewriteloglevel 3 to apache.conf file. , newer ones, just:
loglevel alert rewrite:trace6
Comments
Post a Comment