krieser Posted January 17, 2004 Posted January 17, 2004 Hello everyone! This is my first post. I set up some custom error pages, but they don't seem to be working for my subdomains. Are they supposed to work? Do I need to put an htaccess file in the subdomain's root directory? Any suggestions welcomed!! Thanks, Kris Quote
krieser Posted January 17, 2004 Author Posted January 17, 2004 Sorry, i figured it out. This page kind of explains it: http://www.totalchoicehosting.com/help/id51.htm I checked the error logs and it turns out i needed to add the error pages to my subdomains' root folders - well at least that's what worked... Thanks anyway!! Kris woooot Quote
Lianna Posted January 17, 2004 Posted January 17, 2004 Hey, Kris! Welcome Home! Glad to see you found the forums and the help site. Be sure to stop by often. Quote
TCH-Don Posted January 17, 2004 Posted January 17, 2004 Welcome to the family Kris and your new home! the error pages in the folder of your sub-domain work, if you direct your visitor to the sub.domain, but if they arrive at domain/sub they will see your normal error page. Quote
Deverill Posted January 17, 2004 Posted January 17, 2004 Welcome to the family, Kris! If you need anything just ask! Quote
DarqFlare Posted January 17, 2004 Posted January 17, 2004 Kris, If you define the internet address for the error document, then it will go across all subdomains. I discovered this by accident, but I had an .htaccess file in my root directory, and had this line in the file: >ErrorDocument 404 http://www.omgn.com/404.php When I had a 404 on one of my subs, it took me there. But only do it that way if you want to have the same error pages across all of your subdomains... And even if you do it this way, you can still place another .htaccess file in a subdomain to define that subdomain's error docs. Quote
krieser Posted January 18, 2004 Author Posted January 18, 2004 Thanks for the support! Thumbs Up My htaccess files have relative urls, so that's why it wasn't working before... Kris Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.