![]() |
|
#1
|
|||
|
|||
Setting DirectoryIndex CorrectlyNOTE: Halfway through writing this, I realized that I may have followed the wrong path. I will leave the old explanation if I was indeed right, but the updated problem begins at the dashed line.
I am currently attempting to create an alternate indexing page for my entire server. I'm serving off of a WinXP box with two partitions, which I am blindly guessing would be the root of the problem. Apache2 resides on my C drive, hosting my entire E drive. E then contains the htdocs directory from there. Now that you know the battlefield, here was my plan: DocumentRoot "E:/htdocs" <Directory /> Options All -Indexes AllowOverride All Order allow,deny Allow from all </Directory> #Map SpectreServe indexer icons Alias "/icons/" "E:/spectreserve/icons/" #Hide them from indexing <Directory "E:/spectreserve/icons/"> Options -Indexes AllowOverride None Order allow,deny Allow from all </Directory> #Set up default indexers and SpectreServe DirectoryIndex index.php ( ... ) /spectreserve/index.php In summary, if a directory is called, I expect my custom indexer to work it's magic and let the browser get my icons. The list of icons shouldn't be indexed. The last line of that snippet is the one troubling me. Is "/spectreserve/index.php" relative to Apache itself, or the document root? My testing says Apache, but I may be wrong. I attempted moving everything to C and changed all of my references, but I began getting useless feedback from apache's error log. The errors read: [Mon Dec 29 00:12:10 2003] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Group/Apache2/@exp_errordir@, referer: http://127.0.0.1/EXAMPLE/ ------------------------------- Ok. @exp_errordir@. I also just noticed "Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request". To be honest, my search for @exp_errordir@ lead me here ^^ . My error folder in the apache directory has a total of 22 files including subdirectories ( 1 folder ). If I am missing something, Is there somewhere that I would find replacements? Thanks for your time, and help, and willingness to read through this crap ^_~ , James Abernathy |
|||
Recent GIDBlog
Accepted for Ph.D. program by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Why doesnt my form work correctly? | rhino1616 | Web Design Forum | 2 | 06-Nov-2003 18:21 |
| [class] Auto add / strip slashes regardless of setting. | JdS | PHP Code Library | 0 | 17-Jan-2003 02:35 |
| Setting up a Modem | JdS | Computer Software Forum - Windows | 6 | 14-May-2002 13:17 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The