View Full Version : Maybe someone can see something I don't (htaccess itt)
.htaccess = Redirect 301 /oldpage.html http://www.domain.com/newpage.html
httpd.conf is set to AllowOverride All
sn1per
03-06-2008, 07:31 AM
What are you trying to do and what isnt working?
sn1per
03-06-2008, 07:33 AM
n/m i see what you've done here. Does .htaccess work in every other respect in this web directory? Such as auth etc?
Cheeseburger Walrus
03-06-2008, 07:34 AM
I always just searched through some forums for Apache shit, they always have the answer, someone has gone through your exact problem already.
sn1per
03-06-2008, 07:34 AM
you may also wish to run this command
tail -f /var/log/httpd/error_log
and then hit the page you're trying to redirect in a web browser and view the error if any.
Cheeseburger Walrus
03-06-2008, 07:34 AM
#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<FilesMatch "^\.ht">
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>
there is nothing in the error log, I don't think apache is reading the htaccess file..
sn1per
03-06-2008, 09:28 AM
put some bunk garbage in the .htaccess and see if it errors out.
put some bunk garbage in the .htaccess and see if it errors out.
Good call.. When I throw some bad syntax in there it fux
Hmmm, I've tried
Redirect /oldpage.html /newpage.html
Redirect 301 /oldpage.html /newpage.html
Both of those do not give an error, but no redirect lol.. maybe I will give it a shot on a different host
Fuck same garb on the other host ROFL @ getting hung up on the stupidest shit!
my exact syntax for the .htaccess file ==
Redirect index.html http://www.digitalgangster.com
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.