Solved

customize index page

Posted on 2011-09-18
7
133 Views
Last Modified: 2012-05-12
Hello!

Is there a way to add css styles to index pages (in directories where no index.html file exists) to make them a bit more attractive, include an image, at least use a sans-serif font.. &c..?

thanks!
0
Comment
Question by:hibbsusan
  • 3
  • 2
  • 2
7 Comments
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
If you don't have 'index.html' or some other default document, then you don't have an 'index page'.  If you're talking about the directory listing that sometimes shows, that is not a 'page' as such but a listing generated by the web server.  I don't think you can style it because I don't think you can find it as a 'page'.   What you can do is create an index page with ASP or PHP that presents the directory listing and style that.
0
 

Author Comment

by:hibbsusan
Comment Utility
right. but there are times when i would like to show that directory listing to other people. I was making some custom error pages using the cpanel, and wondered if there were some way to at least get a logo in there..

Thanks!
0
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
Comment Utility
Clearly there is since some people do it.  But if there is a 'page' for that, I don't know where to look.  Here's a way of doing it using .htaccess: http://www.linickx.com/343/css-styling-apache-directory-listings  And this appears to be an Apache page about it: http://httpd.apache.org/docs/2.0/mod/mod_autoindex.html
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

Author Comment

by:hibbsusan
Comment Utility
That look really promising! I'm going to check it out first thing in the morning.

Thank you!
0
 
LVL 14

Expert Comment

by:nishant joshi
Comment Utility
http://homework.nwsnet.de/products/4f27_list-directory-contents-as-html

Here a simple html and script for directory listing try it...
0
 

Author Comment

by:hibbsusan
Comment Utility
Yeah, this is really more about styling the page. (I think(?)) I did find a pretty nice solution for that here too.

I'm really more interested in setting up the default. I have the super file synchronizer linked to this directory, so any file in there gets transported and deleted about once ever 5 minutes. Having an index.php file there isn't really feasible..

Thanks!
0
 
LVL 14

Expert Comment

by:nishant joshi
Comment Utility
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now