Forum Moderators: phranque
IndexOptions +FancyIndexing +SuppressIcon +SuppressRules +ShowForbidden
IndexIgnore *~ *# RCS CVS *,v *,t
IndexStyleSheet "/css/def.css" the dotfiles do not display because, I suspect, apache sees them as hidden
Multiple IndexIgnore directives add to the list, rather than the replacing the list of ignored files.
now I cannot delete the files
me@xxxxxxxxxxxxx:~/webroot$ ll
total 80
drwxrwxr-x 14 www-data www-data 4096 May 29 09:19 ./
drwxrwxrwx 33 www-data www-data 4096 May 26 16:08 ../
-rw-r--r-- 1 www-data www-data 484 May 2 19:58 .htaccess
drwxrwsr-x 2 www-data www-data 4096 Oct 25 2013 adminer/
drwxrwxr-x 5 me users 4096 May 27 19:12 blog/
drwxr-xr-x 3 www-data www-data 4096 May 17 18:01 collection/
drwxrwxr-x 4 www-data www-data 4096 May 28 05:07 custom/
drwxr-xr-x 4 www-data www-data 4096 May 25 15:54 dotfiles/
drwxrwxr-x 2 www-data www-data 4096 Apr 24 19:16 files/
-rw-rw-r-- 1 www-data www-data 11857 May 17 21:40 forums.html
drwxrwxr-x 2 www-data www-data 4096 May 19 22:22 img/
-rw-rw-r-- 1 www-data www-data 1624 May 28 04:59 index.html
drwxrwxr-x 3 www-data www-data 4096 Apr 9 08:00 photos/
ServerRoot "/etc/apache2"
LockFile /var/lock/apache2/accept.lock
PidFile ${APACHE_PID_FILE}
TimeOut 300
KeepAlive on
MaxKeepAliveRequests 100
KeepAliveTimeout 15
<IfModule mpm_prefork_module>
StartServers 1
MinSpareServers 1
MaxSpareServers 5
MaxClients 25
MaxRequestsPerChild 0
</IfModule>
<IfModule mpm_worker_module>
StartServers 1
MaxClients 25
MinSpareThreads 1
MaxSpareThreads 4
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
User www-data
Group www-data
AccessFileName .htaccess
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
DefaultType text/plain
HostnameLookups On
ErrorLog /var/log/apache2/error.log
CustomLog /var/log/apache2/access.log "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\""
LogLevel warn
LogLevel debug
Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf
Include /etc/apache2/httpd.conf
Include /etc/apache2/ports.conf
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
ServerTokens Full
ServerSignature On
Include /etc/apache2/conf.d/
Include /etc/apache2/sites-enabled/default
EnableSendfile Off
LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-3.0.19/ext/apache2/mod_passenger.so
PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-3.0.19
PassengerRuby /usr/bin/ruby1.8 .ht* from clients, but i don't understand how this could affect ALL dotfiles?
the problematic folders are the ones where i am not the owner and do not have group write permission.
-rw-r--r-- 1 me www-data 0 May 30 20:04 created-with-filezilla
-rw-rw-r-- 1 me www-data 0 May 30 20:06 created-with-ssh-terminal Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf
Include /etc/apache2/httpd.conf
Include /etc/apache2/ports.conf
...
Include /etc/apache2/conf.d/
Include /etc/apache2/sites-enabled/default