Reply
Changing appearance of server-generated directories
Old 06-24-2006, 03:30 AM Changing appearance of server-generated directories
Skilled Talker

Posts: 51
I'm looking to change the server-generated directories on my site.

If you view this link (or look at the picture), you can see what i'm talking about:
http://www.foothillsbaptist.org/channel3/images/



You see the default server directory (i could be terming this wrong.. so it'd be best to look). So you're just seeing the folder on the server and its contents and subdirectories. What i'm wanting to do, is change how this page is generated, at least in terms of colors/fonts/backgrounds.

Is this possible? Can you link it to a CSS doc? Does anyone know how to do this?

Thanks for your help.
msaz87 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 06-24-2006, 06:12 AM Re: Changing appearance of server-generated directories
chrishirst's Avatar
Super Moderator

Latest Blog Post:
Am I impressed or what?
Posts: 14,864
Location: Blackpool. UK
You can't change it. Well not in HTML anyway.


You would need to code a default page for the folder that presented a file list to the visitor, then you could format it any way you wanted to.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-24-2006, 06:25 AM Re: Changing appearance of server-generated directories
Skilled Talker

Posts: 51
What kind of code would i have to make it in? Then i somehow change something in the .htaccess to display it?

I guess what i'm trying to ask... is this something extremely difficult, or is it a fairly common thing that i might be able to find help on how to do it? I've looked around, but found little, possibly because i word it wrong.

Thanks for your help.
msaz87 is offline
Reply With Quote
View Public Profile
 
Old 06-24-2006, 06:42 AM Re: Changing appearance of server-generated directories
chrishirst's Avatar
Super Moderator

Latest Blog Post:
Am I impressed or what?
Posts: 14,864
Location: Blackpool. UK
Not .htaccess. It depends on what server-side code you can run on your host. As you mention .htaccess you must be on Apache so PHP may be a option.

It's not a really complicated script the will be some threads on this in the PHP Forum
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-25-2006, 07:35 PM Re: Changing appearance of server-generated directories
Skilled Talker

Posts: 51
I was able to get the styling to work by editing my .htaccess. My new question is how to make the styling of one .htaccess filter down to all its sub-directories.

Here's my code:
Code:
# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.foothillsbaptist.org
AuthUserFile /home/footh4/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/footh4/public_html/_vti_pvt/service.grp
Options +Indexes
   IndexOptions FancyIndexing SuppressDescription SuppressHTMLPreamble
   HeaderName header.htm
   ReadmeName footer.htm
   IndexIgnore header.htm footer.htm .htaccess
suPHP_ConfigPath /home/footh4/public_html
Thanks for your help.
msaz87 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Changing appearance of server-generated directories
 

Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12867 seconds with 12 queries