Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Apache2 Version Issue / Description Width Addition |
|
Author |
|
sullivm
Joined: 25 Apr 2007 Posts: 1
|
Posted: Wed 25 Apr '07 23:26 Post subject: Apache2 Version Issue / Description Width Addition |
|
|
Greetings to you all, I hope things are going well. I just joined, as I have an issue with the Apache2 setup, and am unfamiliar with the system.
Ok, here's the lowdown:
we're running Windows Server 2003, using the Apache2/Xammp (?) system.
Now, not much is known about the setup, as there was no documentation involved.
I'd like to change the IndexOptions directive so that the "DescriptionWidth" can be specified with a longer length. This is so that users viewing file listings can see the full name, rather than the 23 character abbrv. name.
Now, I know that the "DescriptionWidth" portion is only useable in Apache 2.0.23+ - however I don't know how to check the version - is that easy? and if so, how do you check it?
So anyway, I tried the "DescriptionWidth" addition to the conf file, and I got a syntax error (using "*" as the value, to allow all characters, yes i know its a security issue, yadada).
Is that because the apache version isnt up to 2.0.23 - or maybe I did something wrong?
Thanks for any help . . . |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|
tdonovan Moderator
Joined: 17 Dec 2005 Posts: 611 Location: Milford, MA, USA
|
Posted: Mon 30 Apr '07 17:08 Post subject: |
|
|
To check your Apache version: Find a program in your Apache \bin directory named httpd.exe or apache.exe
Run this program from the command prompt with the -v switch, for example:
It is unlikely that you have a version older than Apache 2.0.23, which is about 5 years old.
You probably mean to use NameWidth rather than DescriptionWidth if you want to see long filenames in your directory listings.
Make sure you put NameWidth=* in the IndexOptions directive, not in the Options directive.
For example: Code: | IndexOptions FancyIndexing HTMLTable VersionSort NameWidth=* |
If you have a recent (2.2+) version of Apache, the IndexOptions directive may be in a separate file - \conf\extra\httpd-autoindex.conf - instead of in httpd.conf.
-tom- |
|
Back to top |
|
|
|
|
|
|