/    Sign up×
Community /Pin to ProfileBookmark

Style Sheet for Index of/ (w/o html file?) – I have an example

Folks, I don’t know if what I am looking to do is even possible. I have searched within this forum and Googled using terms that I would assume fit the search criteria…

If you take a look at the following site: [URL=”http://download.fedora.redhat.com/pub/fedora/linux/”]download.fedora.redhat.com[/URL] it appears as though their server (apache most likely) has applied a style sheet to the index of / directory. Where as if you were to navigate into a folder without an index file of some form or htaccess modification, your website would display the contents in this manner: [URL=”http://www.portlandmuseum.org/inc/”]Example of unprotected / No index file directory[/URL].

Even if this is just a clever way of making it look like the contents of a directory are being dynamically displayed with fresh icons in the first example, is it possible to achieve similar results configuring apache or IIS to load a style sheet when there isnt an html/php file in the directory?

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@ray326Jun 05.2007 — Something like this perchance?

On second thought, I'd look into doing a custom page for a 403 or 405 or whatever Apache throws for that.
Copy linkTweet thisAlerts:
@agenttwitchauthorJun 05.2007 — I wonder if this will work for apache 1.3.X

Thanks for the quick reply. Its amazing how long I looked and never found this.
Copy linkTweet thisAlerts:
@ray326Jun 06.2007 — A custom error page will.
×

Success!

Help @agenttwitch spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...