How change "index of /"
Posted by: david.rj.2k (---.user.veloxzone.com.br)
Date: March 31, 2007 09:59PM

Is posible change "Index Of /" page of Wampserver?
The new Wampserver have a POOR index of confused smiley

Bye, david.

Options: ReplyQuote
Re: How change
Posted by: Grizli (---.range86-138.btcentralplus.com)
Date: April 17, 2007 09:54PM

I also want to change this but can`t figure out how, directory list just shows the file/folder name instead of size date ect like it used to..

Any ideas how to change this anyone?



Post Edited (04-17-07 21:56)

Options: ReplyQuote
Re: How change "index of /"
Posted by: Grizli (---.range86-150.btcentralplus.com)
Date: April 24, 2007 02:18AM

Can`t find what to change.. any ideas anyone??

Options: ReplyQuote
Re: How change "index of /"
Posted by: WizD (---.l3.c2.dsl.pol.co.uk)
Date: April 24, 2007 08:53PM

Do you mean the view you get in windows explorer?
If so, just change the default view from 'list' to 'details'.

If you mean in your browser... I don't know. I only get that when I accidentally deleted index.php.

What have you changed? Is this just since updating WAMP or might there be some other variable?

Options: ReplyQuote
Re: How change "index of /"
Posted by: Grizli (---.range86-139.btcentralplus.com)
Date: April 24, 2007 11:03PM

Thanx for coming back WizD,

Here`s what I mean:
When there is no index file you get a directory list, which is normal, but the directory view details have gone all simple after upgrading to 1.7.0

Screenshot of a folder before upgrade:


and after:


As you can see the view is much simpler with less details. I think there maybe a setting in apache that controls this but I can`t for the life of me figure it out.


Options: ReplyQuote
Re: How change
Posted by: CyberSpatium (71.237.217.---)
Date: April 25, 2007 03:36AM

the "index of" page is automatically generated by apache when it cannot find an index file for the directory you are trying to surf too. you cannot customize it.

"if none of the resources exist and the Indexes option is set, the server will generate its own listing of the directory. then a request for http://myserver/docs/ would return http://myserver/docs/index.html if it exists, or would list the directory if it did not."
Apache 2.0 Documentation
http://httpd.apache.org/docs/2.0/mod/mod_dir.html#directoryindex

you can customize other error pages (404 errors, 504 errors, etc) by using ErrorDocument in your httpd.com file.

CyberSpatium
----------------------
WAMP English Forum Admin

Need help? Check out my WAMP User Manual/Guide here!

Please visit my latest website Clarify Loans:
clarifyloans.com

Options: ReplyQuote
Re: How change
Posted by: Grizli (---.range86-148.btcentralplus.com)
Date: April 26, 2007 01:25AM

wtf where did the replys go.. anyway moving on..

I know those are auto generated and you can customise them, I couldn`t find the option. But doesn`t matter I found it.

Add these lines to your httpd.conf, remember to change the paths winking smiley


# Aliases: Add here as many aliases as you need (with no limit). The format is
# Alias fakename realname
#
# Note that if you include a trailing / on fakename then the server will
# require it to be present in the URL. So "/icons" isn't aliased in this
# example, only "/icons/". If the fakename is slash-terminated, then the
# realname must also be slash terminated, and if the fakename omits the
# trailing slash, the realname must also omit it.
#
# We include the /icons/ alias for FancyIndexed directory listings. If you
# do not use FancyIndexing, you may comment this out.
#
Alias /icons/ "G:/wamp/Apache2/icons/"

<Directory "G:/wamp/Apache2/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

# Directives controlling the display of server-generated directory listings.
#

#
# IndexOptions: Controls the appearance of server-generated directory
# listings.
#
IndexOptions FancyIndexing VersionSort

#
# AddIcon* directives tell the server which icon to show for different
# files or filename extensions. These are only displayed for
# FancyIndexed directories.
#
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip

AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*

AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core

AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^

#
# DefaultIcon is which icon to show for files which do not have an icon
# explicitly set.
#
DefaultIcon /icons/unknown.gif

#
# AddDescription allows you to place a short description after a file in
# server-generated indexes. These are only displayed for FancyIndexed
# directories.
# Format: AddDescription "description" filename
#
#AddDescription "GZIP compressed document" .gz
#AddDescription "tar archive" .tar
#AddDescription "GZIP compressed tar archive" .tgz

#
# ReadmeName is the name of the README file the server will look for by
# default, and append to directory listings.
#
# HeaderName is the name of a file which should be prepended to
# directory indexes.
ReadmeName README.html
HeaderName HEADER.html

# Optionally add a line containing the server version and virtual host
# name to server-generated pages (internal error documents, FTP directory
# listings, mod_status and mod_info output etc., but not CGI generated
# documents or custom error documents).
# Set to "EMail" to also include a mailto: link to the ServerAdmin.
# Set to one of: On | Off | EMail
#
ServerSignature On

#
# IndexIgnore is a set of filenames which directory indexing should ignore
# and not include in the listing. Shell-style wildcarding is permitted.
#
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t



Post Edited (04-26-07 01:27)

Options: ReplyQuote


Sorry, only registered users may post in this forum.