Questions tagged [directoryindex]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
39 views

How to get proxypass to appear in index.html

I have gitea running with apache, at url.com/gitea, using proxypass. ProxyPass /gitea http://localhost:3000 ProxyPassReverse /gitea http://localhost:3000 Alias /gitea /var/www/localhost/htdocs/gitea ...
1
vote
1answer
112 views

Set date format in nginx autoindex HTML listing

The default date format in nginx autoindex HTML directory listings is 19-Jun-2019. Can I change it to ISO YYYY-MM-DD format instead?
0
votes
1answer
71 views

NGINX: configure locations many root or index

I want to configure a location for the phpinfo.php file with /phpinfo and another one for phpPgAdmin with /phppgadmin. My server root directory is at /usr/share/nginx/html/, in there I got an index....
0
votes
2answers
471 views

Force nginx to always autoindex and ignore index.html files?

I am trying to get nginx to ignore index.html files and always show a directory listing from the autoindex module. If I remove my index line, nginx still defaults to serving index.html files, so that ...
0
votes
1answer
155 views

Password protect all directories and sub directories, but not files

As the titles suggests, I am trying to password protect all directories and sub-directories, but not the files. This is so that I can still browse through the files, and share the download links ...
0
votes
1answer
141 views

Load index.html by default in apache2

I have set up apache2 web server and tomcat with mod_jk module in between to delegate static content to apache2. I have created /var/www/example/index.html and want this to be loaded when entering ...
-1
votes
1answer
132 views

Apache 2.2 on linux too slow when showing 2,50,000 files from one directory

Using the web browser, I have a requirement to access a directory on a Linux server hosting around 2,00,000 files in it. I am using the 'Alias' directive in apache to achieve this requirement. ...
1
vote
1answer
353 views

Apache2 unexpected redirect: Virtualhost DirectoryIndex not serving index.php automatically

I have two Apache virtual hosts set up on an Ubuntu 16.04 VPS. site1.example.com is a properly functioning WordPress site. site2.example.com is a newly added site with only index.php in its document ...
1
vote
1answer
299 views

Trouble with Passenger/Apache2 - Error 403

I need to upgrade my Redmine installation. I'm on a Mac OS X Server 10.6.8 (unfortunately, this is a given - can't update the system to a new version right now). In the process, I had issues with ...
0
votes
1answer
281 views

Apache 2.4 loads index.html.bak/.old/… before index.php - wildcard?

After upgrading our Apache to 2.4 something seems to have changed with Apaches behavior but I can't find out what. Our DirectoryIndex directive: DirectoryIndex index.html index.cgi index.pl index....
0
votes
1answer
146 views

How to limit nginx autoindexing?

Is there any way to limit autoindexing to specific types? What I want is to list only .svg files in a specific directory on my nginx server and hide other file types.
2
votes
2answers
2k views

Apache2: Allow directory indexing, but restrict file access by type

I need to configure my Apache2 server (version 2.2.22) such that I allow auto-indexing of the WWW root folder and its sub-directories, but restrict access (i.e. restrict download) to just a set of ...
0
votes
0answers
1k views

Apache Directory index doesn't work but index.html yes

2 hours, 2 hours struggling with that. www.domain.com/index.html works, but www.domain.com show indexes, if i click on the index.html, nothing happens. This is the virtuahost. NameVirtualHost *:80 &...
3
votes
2answers
3k views

DirectoryIndex not working properly for rewritten URL

I have domain.com and sub.domain.com pointing to the same server and I'm using mod_rewrite to rewrite URLs for sub.domain.com to the sub subdirectory. I have the following .htaccess file in the ...
0
votes
2answers
12k views

nginx autoindex doesn't work

I'm trying to share some of my personal media on my website, but I get a 403 Forbidden error when I try to head to it (www.example.com/media). However, when I provide the full path to a file e.g www....
1
vote
1answer
4k views

How can I password protect a directory with nginx, but not the files within the directory?

I know this can be done with Apache, however I've started using nginx and would like to know if this is possible, and if so, how I can implement it. On my web server I have the directory /mcscreens ...
0
votes
1answer
124 views

Apache directory listing

Hi i previously had setup a web server using apache 2.0.65, but i decided to update to 2.2. After updating i noticed that the look of the directory listing changed. It previously looked like this, but ...
-3
votes
2answers
1k views

Mod Rewrite code with out changing the url in address bar

I When I call http://www.mysite.in/abc/xyz it shoud show up http://www.mysite.in/abc/xyz/index.php but the url shout not change in address bar and it should work with out "/" in the address. Please ...
-1
votes
2answers
91 views

Website link with out “/” [duplicate]

My Apache 2.2 is running on port "8080" I want to call my site url http://www.example.in:8080/abc/xyz.html/index.php (xyz.html is a folder) as .... http://www.example.in:8080/abc/xyz.html Can ...
0
votes
3answers
3k views

DirectoryIndex works in htaccess but not in apache2 .conf files

I need my Ubuntu install to use index.php as the default file. Added DirectoryIndex index.php to /etc/apache2/apache2.conf Added <Directory /path/to/website/root/> DirectoryIndex ...
0
votes
1answer
1k views

Nginx proxy pass php index problems

I am having slight issues making my indexes work with nginx serving static content and passing php to apache on a different server. Basically if I need it to try index.php on the backend apache ...
1
vote
1answer
618 views

With Apache, is it possible to generate a directory listing for a non-folder URL?

Apache allows you to create a directory list (when configured) if you visit a folder with no index.html. What I want to know is, is it possible to get that same list but at a different URL? I'm ...
1
vote
1answer
111 views

Why is my root URL serving up a 404 under Apache?

My virtual host file is below. There is a directory /home/jonathan/cats/, and it contains an index.html. And it is world-readable, with the directory being world-executable. (Other VirtualHosts exist ...
5
votes
1answer
37k views

How do I make virtual host DirectoryIndex file appear in the url?

I have setup a virtual host which specifies a default file to load when the URL is called. The problem I have is that I need that default DirectoryIndex file to appear in the URL. So when I go to: ...
2
votes
1answer
2k views

using nginx try_files and autoindex together

I have the following server configuration: server { listen 80; server_name _; root /var/www/; location /calendars/ { autoindex on; try_files $uri.ics $uri =404; }...
0
votes
1answer
610 views

Deny access to root directory while allowing access to the DirectoryIndex for default page

I am trying to deny access to the root directory while allowing access to certain files (ending in .html and .js) and specifying a DirectoryIndex so requests for the directory will respond with a ...
1
vote
1answer
2k views

HOWTO: Apache index page banner?

I'd like Apache index pages to show my company banner w/ link to homepage on top. Instead of: Index of /pub/something to show [Company Banner] Index of /pub/something I added these lines to ....
1
vote
1answer
755 views

Apache2 ProxyPass to Tomcat, DirectoryIndex with exclusions

We're deploying a SpringMVC application and using an Apache frontend to make it easier to for our less technically inclined employees to upload images in to the application without having to redeploy ...
1
vote
1answer
1k views

Configure .htaccess to block bot indexing but allow browser directory listing/viewing

I know in order to show a directory listing of my files in a browser through .htaccess I can use Options +Indexes and to prevent Google and most bots from crawling my directory I can use Options -...
0
votes
1answer
3k views

CentOS 6.2 disable httpd autoindex

I am trying to disable the Auto index of directories in the apache config. <VirtualHost *:80> ServerName example.com ServerAlias www.example.com example.co.uk www.example.co.uk ...
2
votes
1answer
3k views

Apache2 on Ubuntu 12.04 — DirectoryIndex ignored

I have a relatively fresh installation of LAMP on Ubuntu 12.04 (installed using tasksel). I've got a virtual host pointed at a development project in my home directory containing plain Hello World ...
1
vote
1answer
294 views

how to change the index of directory page in apache?

How can I change the page that Apache shows when someone navigates to a directory that does not have the index page? I would like to change that page to not be so easy to view all files in a directory....
2
votes
1answer
1k views

nginx - How to… DirectoryIndex to a folder

I want to set a initial page inside a folder, besides the common index.htm I want to change index.htm to /folder/file.htm Is it possible using nginx? In my Apache server all I have to do is config ...
1
vote
1answer
939 views

What file should be the DirectoryIndex in Apache to properly serve Munin graphs?

This is probably going to be one of those of course! answers, but I've spent all night looking up tutorials and FAQs on Munin and can't seem to find the answer. I have Munin installed, and I'm trying ...
1
vote
1answer
2k views

cPanel & DirectoryIndex - server default page showing for domain root [closed]

I'm pretty sure that I have a very trivial problem and that lots of you guys have answered this kind of question a thousand times. But I just can't find any of these answers. So here we go. I am ...
1
vote
1answer
413 views

How can I see my DirectoryIndex order on a shared web server?

How can I view the default DirectoryIndex order? Is there a command I can run? I'm on a shared web server so I can't view the configuration file. Is the default documented anywhere? My Google-fu is ...
8
votes
1answer
11k views

ext3_dx_add_entry: Directory index full

Background: I'm running lighttpd 1.4.28-1 on CentOS 5.3 to serve the static assets. Signal: recently, it gets slow sometimes. I'm getting the below errors in the kernel log and /var/log/messages: ...
1
vote
1answer
2k views

Change default ReadmeName in Apache

How do I change the default ReadmeName for Apache directory indexes? I have a readme file in the root of my site example.com/README.html which I want to display as the readme file for Apache ...
3
votes
3answers
3k views

Apache will not display index in web root, subfolders are fine

I have an Apache 2.2.3 server running on CentOS 5.5. In the root of my web directory, there is an index.html file. Going to something like, say, www.exampledomain.egg/index.html works, but going to ...
0
votes
3answers
74 views

Apache: list of resources to look for when client requests a file

Apache's DirectoryIndex directive tells Apache to look for, e.g. index.html and index.php if the client requests a directory. Is there some easy way to get Apache to analogously look for e.g. /$...
9
votes
5answers
13k views

Disable directory listings with 404 instead of 403

I've disabled directory listings like so... Options -Indexes When I try and access a directory like this:- www.example.com/secret/ I get a 403 Forbidden response. However, I want a 404 Not Found ...
0
votes
2answers
4k views

Changing default Apache page for a virtual host to a mod_autoindex generated listing

I have the following virtual host in my Apache configuration: <VirtualHost *:80> ServerName foobarspaz DocumentRoot "/path/to/document/root" </VirtualHost> There is no index.html ...
0
votes
1answer
4k views

Internal server error, what is blocking an htaccess file allowing to index dirs

First time writing an .htaccess, so... I try to allow indexing of a dir and later one adding a password for the specific dir. I herefor am writing an .htaccess file. The server I'm working on denies ...
0
votes
1answer
1k views

apache2: Options +Indexes ignored

since the configuration of apache 2 has been split into several files instead of http.conf, I can't get directory listing working. I already found such a question, but it didn't fit to my problem: ...
0
votes
1answer
856 views

Get nginx to always load /webdir/page.php on directories if no index.html page

So i'v been trying out some of the config options in http://wiki.nginx.org/NginxHttpCoreModule with no luck so far. What I want is, if someone goes to '10.10.10.1/test/' that it loads the file '/...