404 Configuration

This is a discussion on 404 Configuration within the Apache Web Server forums, part of the Web Server and Related Forums category; I have been dropped in to a large site, and I have found myself administrator of one of its subdomains. ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-07-2008
ben_rebach
 
Posts: n/a
Default 404 Configuration

I have been dropped in to a large site, and I have found myself
administrator of one of its subdomains. I have been instructed to
close the public facing side, while leaving the intranet open.

So, let us say I'm part of www.oursite.com. I am administering
www.myspot.oursite.com. The intranet is located at www.myspot.oursite.com/Intranet,
and there are further subdomains such as
anotherspot.myspot.oursite.com. It seems ownership of the overall
site and the various subdomains has been passed on from person to
person for a while now, and consequently I am having a lot of trouble
finding assistance from my higher-ups.

So, I am here with my problem...

The material on the public facing site has been backed up in several
places, and my intention was to delete the obsolete material -
basically, everything except /Intranet - from the server. I wanted to
modify the 404 settings, so any 404 error would send the user to the
new index, which would announce the closure, provide alternative
links, and, after 15-30 seconds, auto-forward to the new subdomain
which is replacing the obsolete materials.

The information I found in the manual pointed me to .htaccess files,
which I could not find at either the site root or inside any folders.
In the server's /conf folder I found an number of configuration files
which seemed to have the setting I wanted, and so I did the following:

#
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
#
# Some examples:
#ErrorDocument 500 "The server made a boo boo."
ErrorDocument 404 https://www.myspot.oursite.com/index.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.example.com/subscription_info.html
#

I made this edit to both httpd.conf and httpd.conf.php (after backing
them up) and uploaded them to the server. There has been no change.

Obviously I am missing something, but I am unable to find what it
might be.
Do I need to reboot or reset the server?
Am I editing the wrong files?
Are my edits being overwritten by a higher-level server, such as
whichever administers to the root www.oursite.com domain?

Any help or hints would be appreciated.

Regards,
Ben Rebach
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:23 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0