httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kelly McClurg" <kelly_mccl...@hotmail.com>
Subject [users@httpd] directoryindex doesn't work
Date Fri, 12 Nov 2004 05:30:32 GMT
<html><div style='background-color:'><FONT size=2>
<P>Hello everyone,</P>
<P>I'm very new to apache and copied a website and modified http.conf from a linux machine
to my win98. The problem is that the directoryindex&nbsp;directive&nbsp;isn't working.
I can bring up <A href="http://localhost/jpgraph/index.html">http://localhost/jpgraph/index.html</A>
and it works. However if I try http://localhost/jpgraph or <A href="http://localhost/jpgraph/">http://localhost/jpgraph/</A>
it does a websearch and I get an entry in my errorlog.</P>
<P>I've looked through the docs, FAQ, and archives and can't see the problem. The website
relys heavily on this function.</P>
<P>Can anyone help?</P>
<P>Thanks,</P>
<P>Kelly McClurg</P>
<P>--------------------------------------</P>
<P>error.log entry follows</P>
<P>--------------------------------------</P>
<P>[Thu Nov 11 20:43:40 2004] [warn] exec() may not be safe</P>
<P>--------------------------------------</P>
<P>httpd.conf follows</P>
<P>--------------------------------------</P>
<P>ServerType standalone</P>
<P>ServerRoot "C:/apache/Apache"</P>
<P>PidFile logs/httpd.pid</P>
<P>ScoreBoardFile logs/apache_runtime_status</P>
<P>Timeout 300</P>
<P>KeepAlive On</P>
<P>MaxKeepAliveRequests 100</P>
<P>KeepAliveTimeout 15</P>
<P>MaxRequestsPerChild 0</P>
<P>ThreadsPerChild 50</P>
<P>LoadModule vhost_alias_module modules/mod_vhost_alias.so</P>
<P>LoadModule mime_magic_module modules/mod_mime_magic.so</P>
<P>LoadModule status_module modules/mod_status.so</P>
<P>LoadModule info_module modules/mod_info.so</P>
<P>LoadModule speling_module modules/mod_speling.so</P>
<P>LoadModule rewrite_module modules/mod_rewrite.so</P>
<P>LoadModule anon_auth_module modules/mod_auth_anon.so</P>
<P>LoadModule dbm_auth_module modules/mod_auth_dbm.so</P>
<P>LoadModule digest_auth_module modules/mod_auth_digest.so</P>
<P>LoadModule digest_module modules/mod_digest.so</P>
<P>#LoadModule proxy_module modules/mod_proxy.so</P>
<P>LoadModule cern_meta_module modules/mod_cern_meta.so</P>
<P>LoadModule expires_module modules/mod_expires.so</P>
<P>LoadModule headers_module modules/mod_headers.so</P>
<P>LoadModule usertrack_module modules/mod_usertrack.so</P>
<P>LoadModule unique_id_module modules/mod_unique_id.so</P>
<P>LoadModule php4_module c:/php/sapi/php4apache.dll</P>
<P>ClearModuleList</P>
<P>AddModule mod_vhost_alias.c</P>
<P>AddModule mod_env.c</P>
<P>AddModule mod_log_config.c</P>
<P>AddModule mod_mime_magic.c</P>
<P>AddModule mod_mime.c</P>
<P>AddModule mod_negotiation.c</P>
<P>AddModule mod_status.c</P>
<P>AddModule mod_info.c</P>
<P>AddModule mod_include.c</P>
<P>AddModule mod_autoindex.c</P>
<P>AddModule mod_dir.c</P>
<P>AddModule mod_isapi.c</P>
<P>AddModule mod_cgi.c</P>
<P>AddModule mod_asis.c</P>
<P>AddModule mod_imap.c</P>
<P>AddModule mod_actions.c</P>
<P>AddModule mod_speling.c</P>
<P>AddModule mod_userdir.c</P>
<P>AddModule mod_alias.c</P>
<P>AddModule mod_rewrite.c</P>
<P>AddModule mod_access.c</P>
<P>AddModule mod_auth.c</P>
<P>AddModule mod_auth_anon.c</P>
<P>AddModule mod_auth_dbm.c</P>
<P>AddModule mod_auth_digest.c</P>
<P>AddModule mod_digest.c</P>
<P>#AddModule mod_proxy.c</P>
<P>AddModule mod_cern_meta.c</P>
<P>AddModule mod_expires.c</P>
<P>AddModule mod_headers.c</P>
<P>AddModule mod_usertrack.c</P>
<P>AddModule mod_unique_id.c</P>
<P>AddModule mod_so.c</P>
<P>AddModule mod_setenvif.c</P>
<P>AddModule mod_php4.c</P>
<P>Port 80</P>
<P>ServerAdmin kelly_mcclurg@hotmail.com</P>
<P>DocumentRoot "C:/home/httpd/html"</P>
<P>&lt;Directory /&gt;</P>
<P>Options FollowSymLinks</P>
<P>AllowOverride None</P>
<P>&lt;/Directory&gt;</P>
<P>&lt;Directory "C:/home/httpd/html"&gt;</P>
<P>Options Indexes FollowSymLinks MultiViews</P>
<P>AllowOverride None</P>
<P>Order allow,deny</P>
<P>Allow from all</P>
<P>&lt;/Directory&gt;</P>
<P>&lt;IfModule mod_userdir.c&gt;</P>
<P>UserDir "C:/apache/Apache/users/"</P>
<P>&lt;/IfModule&gt;</P>
<P>&lt;IfModule mod_dir.c&gt;</P>
<P>DirectoryIndex index.html</P>
<P>&lt;/IfModule&gt;</P>
<P>AccessFileName .htaccess</P>
<P>&lt;Files ~ "^\.ht"&gt;</P>
<P>Order allow,deny</P>
<P>Deny from all</P>
<P>Satisfy All</P>
<P>&lt;/Files&gt;</P>
<P>UseCanonicalName On</P>
<P>AddType application/x-httpd-php .php</P>
<P>&lt;IfModule mod_mime.c&gt;</P>
<P>TypesConfig conf/mime.types</P>
<P>&lt;/IfModule&gt;</P>
<P>DefaultType text/plain</P>
<P>&lt;IfModule mod_mime_magic.c&gt;</P>
<P>MIMEMagicFile conf/magic</P>
<P>&lt;/IfModule&gt;</P>
<P>HostnameLookups Off</P>
<P>ErrorLog logs/error.log</P>
<P>LogLevel warn</P>
<P>LogFormat "%h %l %u %t \"%r\" %&gt;s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined</P>
<P>LogFormat "%h %l %u %t \"%r\" %&gt;s %b" common</P>
<P>LogFormat "%{Referer}i -&gt; %U" referer</P>
<P>LogFormat "%{User-agent}i" agent</P>
<P>CustomLog logs/access.log common</P>
<P>ServerSignature On</P>
<P>&lt;IfModule mod_alias.c&gt;</P>
<P>Alias /icons/ "C:/apache/Apache/icons/"</P>
<P>&lt;Directory "C:/apache/Apache/icons"&gt;</P>
<P>Options Indexes MultiViews</P>
<P>AllowOverride None</P>
<P>Order allow,deny</P>
<P>Allow from all</P>
<P>&lt;/Directory&gt;</P>
<P>Alias /manual/ "C:/apache/Apache/htdocs/manual/"</P>
<P>&lt;Directory "C:/apache/Apache/htdocs/manual"&gt;</P>
<P>Options Indexes FollowSymlinks MultiViews</P>
<P>AllowOverride None</P>
<P>Order allow,deny</P>
<P>Allow from all</P>
<P>&lt;/Directory&gt;</P>
<P>Alias /moneyminder /home/httpd/moneyminder/html</P>
<P>Alias /moneyminderadmin /home/httpd/moneyminder/admin/html</P>
<P>Alias /error/ /home/httpd/error/</P>
<P>Alias /admin/ /home/httpd/html/admin/</P>
<P>Alias /admin /home/httpd/html/admin/html</P>
<P>Redirect /svn http://localhost/svn/</P>
<P>RewriteEngine On</P>
<P>RewriteRule ^/moneyminder/adsignup.php http://localhost/moneyminder/adsignup.php
[R]</P>
<P>RewriteRule ^/moneyminder/newuser.php http://localhost/moneyminder/newuser.php [R]</P>
<P>&lt;Directory /home/httpd&gt;</P>
<P>AllowOverride All</P>
<P>&lt;/Directory&gt;</P>
<P>ScriptAlias /cgi-bin/ "C:/apache/Apache/cgi-bin/"</P>
<P>&lt;Directory "C:/apache/Apache/cgi-bin"&gt;</P>
<P>AllowOverride None</P>
<P>Options None</P>
<P>Order allow,deny</P>
<P>Allow from all</P>
<P>&lt;/Directory&gt;</P>
<P>&lt;/IfModule&gt;</P>
<P>&lt;IfModule mod_autoindex.c&gt;</P>
<P>IndexOptions FancyIndexing</P>
<P>AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip</P>
<P>AddIconByType (TXT,/icons/text.gif) text/*</P>
<P>AddIconByType (IMG,/icons/image2.gif) image/*</P>
<P>AddIconByType (SND,/icons/sound2.gif) audio/*</P>
<P>AddIconByType (VID,/icons/movie.gif) video/*</P>
<P>AddIcon /icons/binary.gif .bin .exe</P>
<P>AddIcon /icons/binhex.gif .hqx</P>
<P>AddIcon /icons/tar.gif .tar</P>
<P>AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv</P>
<P>AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip</P>
<P>AddIcon /icons/a.gif .ps .ai .eps</P>
<P>AddIcon /icons/layout.gif .html .shtml .htm .pdf</P>
<P>AddIcon /icons/text.gif .txt</P>
<P>AddIcon /icons/c.gif .c</P>
<P>AddIcon /icons/p.gif .pl .py</P>
<P>AddIcon /icons/f.gif .for</P>
<P>AddIcon /icons/dvi.gif .dvi</P>
<P>AddIcon /icons/uuencoded.gif .uu</P>
<P>AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl</P>
<P>AddIcon /icons/tex.gif .tex</P>
<P>AddIcon /icons/bomb.gif core</P>
<P>AddIcon /icons/back.gif ..</P>
<P>AddIcon /icons/hand.right.gif README</P>
<P>AddIcon /icons/folder.gif ^^DIRECTORY^^</P>
<P>AddIcon /icons/blank.gif ^^BLANKICON^^</P>
<P>DefaultIcon /icons/unknown.gif</P>
<P>ReadmeName README.html</P>
<P>HeaderName HEADER.html</P>
<P>IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t</P>
<P>&lt;/IfModule&gt;</P>
<P>&lt;IfModule mod_mime.c&gt;</P>
<P>AddType application/x-tar .tgz</P>
<P>AddEncoding x-compress .Z</P>
<P>AddEncoding x-gzip .gz .tgz</P>
<P>AddLanguage da .dk</P>
<P>AddLanguage nl .nl</P>
<P>AddLanguage en .en</P>
<P>AddLanguage et .ee</P>
<P>AddLanguage fr .fr</P>
<P>AddLanguage de .de</P>
<P>AddLanguage el .el</P>
<P>AddLanguage he .he</P>
<P>AddCharset ISO-8859-8 .iso8859-8</P>
<P>AddLanguage it .it</P>
<P>AddLanguage ja .ja</P>
<P>AddCharset ISO-2022-JP .jis</P>
<P>AddLanguage kr .kr</P>
<P>AddCharset ISO-2022-KR .iso-kr</P>
<P>AddLanguage nn .nn</P>
<P>AddLanguage no .no</P>
<P>AddLanguage pl .po</P>
<P>AddCharset ISO-8859-2 .iso-pl</P>
<P>AddLanguage pt .pt</P>
<P>AddLanguage pt-br .pt-br</P>
<P>AddLanguage ltz .lu</P>
<P>AddLanguage ca .ca</P>
<P>AddLanguage es .es</P>
<P>AddLanguage sv .sv</P>
<P>AddLanguage cs .cz .cs</P>
<P>AddLanguage ru .ru</P>
<P>AddLanguage zh-TW .zh-tw</P>
<P>AddCharset Big5 .Big5 .big5</P>
<P>AddCharset WINDOWS-1251 .cp-1251</P>
<P>AddCharset CP866 .cp866</P>
<P>AddCharset ISO-8859-5 .iso-ru</P>
<P>AddCharset KOI8-R .koi8-r</P>
<P>AddCharset UCS-2 .ucs2</P>
<P>AddCharset UCS-4 .ucs4</P>
<P>AddCharset UTF-8 .utf8</P>
<P>&lt;IfModule mod_negotiation.c&gt;</P>
<P>LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw</P>
<P>&lt;/IfModule&gt;</P>
<P>&lt;/IfModule&gt;</P>
<P>&lt;IfModule mod_setenvif.c&gt;</P>
<P>BrowserMatch "Mozilla/2" nokeepalive</P>
<P>BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0</P>
<P>BrowserMatch "RealPlayer 4\.0" force-response-1.0</P>
<P>BrowserMatch "Java/1\.0" force-response-1.0</P>
<P>BrowserMatch "JDK/1\.0" force-response-1.0</P>
<P>&lt;/IfModule&gt;</P></FONT><BR>-------------------------------------------------------------------------<BR>
<DIV>
<DIV><FONT face="Times New Roman, Times, Serif"><EM>Kelly McClurg&nbsp;&nbsp;
</EM></FONT>360-592-5801&nbsp;&nbsp;</DIV></DIV></div></html>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message