Thanks your answer!

I know not recommended. htaccess files source code is only my
localhost (not internet, only local).

This not work, not listing dot files: IndexIgnore *~ *# HEADER*
README* RCS CVS *,v *,t

My /etc/apache2/sites-available/localhost file is:

<VirtualHost *:80>

    ServerName localhost
    ServerAlias *.localhost
    DocumentRoot /var/www/
    AddDefaultCharset UTF-8
    # IndexIgnore *

    ErrorLog /var/www/.error
    CustomLog /var/log/apache2/localhost combined

    HostnameLookups Off
    UseCanonicalName Off
    ServerSignature Off

    <Directory "/var/www/">

        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        Allow from all

    </Directory>

</VirtualHost>

2013/9/24 Pete Houston <[email protected]>:
> On Tue, Sep 24, 2013 at 06:21:23PM +0200, Sós Dániel wrote:
>> 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
>
> Also, be very careful with this:
>
>> <Files .htaccess>
>>     order allow,deny
>>     allow from all
>> </Files>
>
> That is not recommended.
>
> Good luck,
>
> Pete
> --
> Openstrike - improving business through open source
> http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to