GIDForums  

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 29-Dec-2003, 02:26
Biozero Biozero is offline
New Member
 
Join Date: Dec 2003
Location: A long time ago in a galaxy far, far away...
Posts: 3
Biozero is on a distinguished road

Setting DirectoryIndex Correctly


NOTE: 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 GIDBlog2nd Week of IA Training by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why doesnt my form work correctly? rhino1616 Web Design Forum 2 06-Nov-2003 17:21
[class] Auto add / strip slashes regardless of setting. JdS PHP Code Library 0 17-Jan-2003 01:35
Setting up a Modem JdS Computer Software Forum - Windows 6 14-May-2002 12:17

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 06:37.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.