Skip to content

Commit 50b09bd

Browse files
committed
tweak .htaccess permissions
1 parent a85e55b commit 50b09bd

File tree

3 files changed

+7
-23
lines changed

3 files changed

+7
-23
lines changed

.htaccess

+7-19
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,10 @@
11
RewriteCond %{SERVER_PORT} ^80$
22
RewriteRule ^(.*)$ https://pic1dei.tecnico.ulisboa.pt/$1 [L,R=301]
33

4-
<Files *.*>
5-
Order Deny,Allow
6-
Deny from all
7-
</Files>
8-
9-
<Files index.php>
10-
Order Allow,Deny
11-
Allow from all
12-
</Files>
13-
14-
<Files logout.php>
15-
Order Allow,Deny
16-
Allow from all
17-
</Files>
18-
19-
<Files favicon.ico>
20-
Order Allow,Deny
21-
Allow from all
22-
</Files>
4+
RewriteCond %{REQUEST_URI} !^/~pic1dei.daemon/$
5+
RewriteCond %{REQUEST_URI} !^/~pic1dei.daemon/index\.php$
6+
RewriteCond %{REQUEST_URI} !^/~pic1dei.daemon/login\.php$
7+
RewriteCond %{REQUEST_URI} !^/~pic1dei.daemon/logout\.php$
8+
RewriteCond %{REQUEST_URI} !^/~pic1dei.daemon/favicon\.ico$
9+
RewriteCond %{REQUEST_URI} !^/~pic1dei.daemon/assets/public/
10+
RewriteRule ^ - [F,L]

uploads/.htaccess

-4
This file was deleted.

uploads/.keep

Whitespace-only changes.

0 commit comments

Comments
 (0)