- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: I want to disable default name Index of .....
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2013 10:45 PM
03-11-2013 10:45 PM
I want to disable default name Index of .....
Hi,
on apache i want to disable (Index of) name please
For example:----
Index of /SOP/Finance
I want to disable default name index of .....
Thanks
Aamir
- Tags:
- Apache
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2013 12:36 AM
03-13-2013 12:36 AM
Re: I want to disable default name Index of .....
Do you want to disable the entire index, or just the title of the index page?
To disable the entire index, find the Options directive that affects this directory in your Apache configuration, and remove the "Indexes" keyword from it.
Or add something like this to the appropriate location in your Apache configuration:
<Location /SOP/Finance> Options -Indexes </Location
Or if "AllowOverride Options" is enabled in the main Apache configuration for this path, just create a .htaccess file and write "Options -Indexes" to it.
-----
To disable/change just the title, you need a custom header.html file (you can name it as you wish, and put it anywhere you want). Then you'll need to put two directives in your Apache configuration:
HeaderName header.html IndexOptions +SuppressHTMLPreamble
(If you want to put these in a .htaccess file, then "AllowOverride Indexes" must be enabled.)
The header.html file needs to contain something similar to this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html> <head> <title>Anything you want</title> </head> <body> <h1>Anything you want, or just remove this line completely</h1>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2013 12:47 AM
10-27-2013 12:47 AM
Re: I want to disable default name Index of .....
Hi,
My question is that
I want to disable Index of
Index of word and change to
Project
Suppose when open any directory in Apache its open default naming convention(Index of .......)
i want to disable Index of word not indexes
It is possible or not?
Thanks
aamir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2013 05:45 AM
10-27-2013 05:45 AM
Re: I want to disable default name Index of .....
Yes, it is possible - but there is no single convenient keyword for changing just the "Index of" title.
Instead, you must supply a custom header.html that replaces the standard text with whatever you want.
Read the second part of my previous answer (after the "-----").