logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in  RSS Apache Lounge  


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.



Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Discription and Character questions
Author
Bobscrachy



Joined: 13 Feb 2006
Posts: 39
Location: Texas

PostPosted: Mon 13 Feb '06 6:29    Post subject: Discription and Character questions Reply with quote

How do I add descriptions to directories in an index?

Also how do I add custom characters? For some reason I can make a htaccess file that recognizes the characters and saves them, but when the browser displays the results I get trash.

Here's the text,
AddDescription "¤º`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø" file.gif
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 2761
Location: Hilversum, NL, EU

PostPosted: Mon 13 Feb '06 13:48    Post subject: Reply with quote

Do you have :

AddDescription "Mytext " s.gif
IndexOptions FancyIndexing

?

Steffen
Back to top
Bobscrachy



Joined: 13 Feb 2006
Posts: 39
Location: Texas

PostPosted: Mon 13 Feb '06 16:24    Post subject: Reply with quote

Yes Sir.
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 2761
Location: Hilversum, NL, EU

PostPosted: Mon 13 Feb '06 16:37    Post subject: Reply with quote

Maybe you can post your .htaccess file, so I can try.

Steffen
Back to top
Bobscrachy



Joined: 13 Feb 2006
Posts: 39
Location: Texas

PostPosted: Mon 13 Feb '06 19:55    Post subject: Reply with quote

Steffen wrote:
Maybe you can post your .htaccess file, so I can try.

Steffen


I have this in the apache httpd.conf
Code:


# IndexOptions: Controls the appearance of server-generated directory
# listings.
#
IndexOptions FancyIndexing
IndexOptions NameWidth=*
IndexOptions SuppressLastModified
IndexOptions FoldersFirst
IndexOptions SuppressColumnSorting
IndexOptions DescriptionWidth=*


and then this for the actual .htaccess file

Code:
AddIcon /icons/folder.gif htm
AddDescription "Agonizing Memories" hostedbybrain.gif
AddDescription "¤º`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø" mafia.jpg


The result is here ---> http://bobscrachy.redirectme.net
Back to top
pnllan



Joined: 05 Dec 2005
Posts: 221

PostPosted: Mon 13 Feb '06 20:42    Post subject: Reply with quote

Steffen,

Isn't this a character-set issue? I'm not an expert, but the comma (,) and (`)are being displayed. The other characters being displayed as question Marks (?) are typically entered via a keyboard escape sequence (like holding down the ALT key and then entering on the Numpad 1 5 7 then releasing the ALT for Yen symbol (¥) -for example).
.
..
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 2761
Location: Hilversum, NL, EU

PostPosted: Mon 13 Feb '06 22:45    Post subject: Reply with quote

I was thinking the same. I do not know if this characters are supported in one or other way by Apache with the AddDescription.

Steffen
Back to top
Bobscrachy



Joined: 13 Feb 2006
Posts: 39
Location: Texas

PostPosted: Mon 13 Feb '06 23:36    Post subject: Reply with quote

What about the question about adding descriptions to directories?
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 2761
Location: Hilversum, NL, EU

PostPosted: Tue 14 Feb '06 0:20    Post subject: Reply with quote

Sorry, overlooked that question.

I searched in the docu of Apache. Could not find that it is possible, so I think that it is not possible.

Steffen
Back to top


Reply to topic   Topic: Discription and Character questions View previous topic :: View next topic
Post new topic   Forum Index -> Apache