directory cleanup

This commit is contained in:
friendica 2012-05-17 18:52:46 -07:00
parent 7ddae278aa
commit 0e6f862c11
2 changed files with 24 additions and 3 deletions

View File

@ -1,14 +1,23 @@
Options -Indexes Options -Indexes
AddType application/x-java-archive .jar AddType application/x-java-archive .jar
AddType audio/ogg .oga
<FilesMatch "\.(out|log)$">
Deny from all
</FilesMatch>
<IfModule mod_rewrite.c> <IfModule mod_rewrite.c>
RewriteEngine on RewriteEngine on
# Protect repository directory from browsing
RewriteRule "(^|/)\.git" - [F]
# Rewrite current-style URLs of the form 'index.php?q=x'. # Rewrite current-style URLs of the form 'index.php?q=x'.
# Also place auth information into REMOTE_USER for sites running
# in CGI mode.
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] RewriteRule ^(.*)$ index.php?q=$1 [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
</IfModule> </IfModule>

View File

@ -20,12 +20,24 @@ a:hover {
img { img {
border: none; border: none;
} }
.directory-photo-img {
border-radius: 3px;
-moz-border-radius: 3px;
box-shadow: 3px 3px 10px 0 #000000;
}
img.group { img.group {
border: 2px solid red; border: 2px solid red;
} }
.widget ul {
list-style: none;
}
#sysmsg { #sysmsg {
width: 600px; width: 600px;
} }
@ -98,7 +110,7 @@ aside {
width: 250px; width: 250px;
margin-left: 20px; margin-left: 20px;
margin-right: 0px; margin-right: 0px;
font-size: 0.9em;
} }
section { section {
position: absolute; position: absolute;