top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Apache: listing hidden files and folders in browsers for localhost

+1 vote
486 views

I'm use Debian Wheezy (apache2) and Mozilla Firefox. I would like see listing my hidden files and hidden folders in my Firefox browsers at localhost. All files and folders (include . first character).

Example: I see now Firefox: http://localhost/archive/

directory-1
dir-2
file.txt
file

I would like see Firefox: http://localhost/archive/

directory-1
dir-2
.dir-3
file.txt
file
.htaccess
.example.txt

My http://localhost/archive/.htaccess file is now:

IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
php_flag engine off
AddType text/plain php

 order allow,deny
 allow from all

Please help me and help me edit this .htaccess file and I know view my hidden files & folders.

posted Sep 24, 2013 by Satish Mishra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

1)

 IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t

The first term there will prohibit display of your dotfiles. Try removing it and use this instead:

 IndexIgnore *~ *# HEADER* README* RCS CVS *,v *,t

2)

 order allow,deny
 allow from all

That is not recommended.

answer Sep 24, 2013 by Anderson
Similar Questions
0 votes

I have a home server set up with a couple of things going on. Here is the weird thing that I can't figure out. I can access everything just fine from an INTERNET connection external to my LAN using my domain name, let's say "domain.com". So, if I type into my browser on my LAN "www.domain.com", it searches without actually finding it's destination giving up after a period of time saying the server cannot be found (usually an error 408).
But, if I type www.domain.com on my mobile phone browser using my data connection (not on the LAN), it connects without a hitch and everything functions fine. I have done this set up before at a different home, but since I moved, I have come across this problem and either don't remember having this happen before or don't remember what I did to resolve it. Also, I changed ISP and that seemed to be the beginning of the problem. I set up my port forwards and checked my firewalls on the router. I looked on google and couldn't find anything specific to my problem. Everything I have read in the user documentation for apache seems to be set up correctly. I guess my question is what do I not know that I should know to be looking for. :-/
Could some one direct me as to what I should look for?

0 votes

In the past I used to think why Firefox can be slow when it's loading pages. Now I've found something that makes a noticeable difference: the addon "ghostery" that blocks "trackers," which their website defines as
page elements - scripts, pixels, iframes, etc. - that are normally invisible to the user. What "trackers" seem to be all about is marketing, and apparently they've been wasting a lot of my time.
http://www.ghostery.com

What's especially interesting to me is a list that shows the trackers that have been blocked for each website I visit. For example, the intro page for cnn.com includes 20 such unwanted visitors with names like "Audience Science," "Dynamic Science," and "Scorecard Research."

...