Welcome, Guest

Go Back   TechieHQ - Computer Help Forum · » Software & Internet · HTML & Coding
Reload this Page Apache directory sorting

Apache directory sorting

HTML & Coding HTML, XHTML, CSS, XML and other coding issues you may code into.

Reply
 
Thread Tools Display Modes
  #1  
Old Feb 11th, 07, 7:26 PM
SwordWielder's Avatar
SwordWielder
Master of Swords
Posts: 424
Status: Offline
 
From: California
Joined: Feb 2003
Rep: SwordWielder has a spectacular geekish aura aboutSwordWielder has a spectacular geekish aura aboutSwordWielder has a spectacular geekish aura about
xbl.gif
Apache directory sorting

I have a directory of images and other files, I am having an issue displaying the full file name as apache is cutting the file name around 13 charactors, also I'd like to sort descending by name if at all possible.

Right now I'm using Apache 1.3.37.



__________________
"Behold, I am not Gandalf the grey, whom you betrayed. I am Gandalf the white, who has returned from death."

"We meet again. At the turn of the tide. The great storm is coming, but the tide has turned."
Reply With Quote
Advertisement
  #2  
Old Feb 11th, 07, 7:39 PM
Ogden2k's Avatar
Ogden2k
Photojournalist
Posts: 6,977
Status: Offline
shield_mod.giftechie.gif
 
From: Maine, USA
Joined: Dec 2002
Rep: Ogden2k has a brilliant tech mindOgden2k has a brilliant tech mindOgden2k has a brilliant tech mindOgden2k has a brilliant tech mindOgden2k has a brilliant tech mindOgden2k has a brilliant tech mindOgden2k has a brilliant tech mindOgden2k has a brilliant tech mindOgden2k has a brilliant tech mindOgden2k has a brilliant tech mindOgden2k has a brilliant tech mind
xbl.gifflickr.gif
I ran into a similar issue not to long ago, the best reference is the Apache documentation: http://httpd.apache.org/docs/1.3/mod/mod_autoindex.html

Here's an example of my .htaccess file:
Code:
IndexOrderDefault Descending Name
IndexOptions FancyIndexing FoldersFirst NameWidth=*
AddDescription "Apartment Photos" .jpg
Note that NameWidth=*, this will allow you to display the full file name.



__________________
Learn about the man behind the screen @ Ogden2k.net
Reply With Quote
  #3  
Old Feb 15th, 07, 6:21 PM
SwordWielder's Avatar
SwordWielder
Master of Swords
Posts: 424
Status: Offline
 
From: California
Joined: Feb 2003
Rep: SwordWielder has a spectacular geekish aura aboutSwordWielder has a spectacular geekish aura aboutSwordWielder has a spectacular geekish aura about
xbl.gif
Ah- Thank you for the help. I have implemented your suggestion and some others as well.



__________________
"Behold, I am not Gandalf the grey, whom you betrayed. I am Gandalf the white, who has returned from death."

"We meet again. At the turn of the tide. The great storm is coming, but the tide has turned."
Reply With Quote
Reply

Tags
apache, directory, sorting


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB 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
Apache Problems... Sandoo HTML & Coding 1 Feb 10th, 05 9:04 AM
Apache upgrade cnlnetworks Software Support 3 Jan 10th, 05 7:33 PM
Active Directory and pushing out programs SwordWielder Windows Server OS 3 Jun 20th, 04 12:54 AM
Configuring Apache k3o Linux & Apple OS Support 32 Apr 4th, 04 11:56 PM
[resolved] Windows 2000 Server, Active Directory GPO issues Ogden2k Windows Server OS 7 Mar 3rd, 03 1:28 AM


All times are GMT +1. The time now is 7:51 PM.