Question Locked

Looking for something to decorate a file directory on webserver

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

What I want to do is sort of pretty the default Apache directory listing when you open a folder that doesn't have any index page.

My server don't support PHP :(, anyone got anything or can point me in the right direction to do this? I figured this should be possible Via javascript, but maybe not...
ideally an index page that can generate nice HTML for the files in the directory would be perfect. Heck, even the ability to attach a stylesheet would be nice (if there is an apache config for this, can someone point me too it?)

I found a few manuals that say to make a ".htaccess" file, but every tiem I try to name a file that, Windows basically says you have to enter a file name??? and then removes what I typed.
Edit, Nvm about file name, DOS rules :p

7 replies

by slayer_

Which was funny cause I was working on it, and thought my header was working, turns out some global setting just meant it used anything called "header.html" as the header. Go figure lol.

Ok, so why on earth is it not reading my htaccess file in the directory?

by slayer_

I want to make each line alternate in colours. I tried doing this with div's in the descriptions, trying to start and end them appropriatly, and although I can surround the appropriate text, getting them to alternate is proving difficult.

Ideas?

This is what I currently have.
http://trevorsarchives.selfip.net/funpics/images/

by thumbsup2

Then number each line and color code the odd numbers differently from the even numbers. You can add ID numbers to the TR tags to identify them.

I presume you're doing this with some sort of programming, so a quick and dirty IF/THEN/ELSE statement hunting for the ID number in the TR tag, then color coding the appropriate TD tag backgrounds should suffice.

by slayer_

The basic index page is pretty bare bones. The only real markup is the "pre" tag.

This discussion is closed to new replies.