# v6.5.0.0 # Open Source Social Network # # @package .htaccess.ossn # @author OSSN Core Team <info@opensource-socialnetwork.org> # @copyright (c) Engr. Syed Arsalan Hussain Shah (OpenTeknik LLC) # @license OPEN SOURCE SOCIAL NETWORK LICENSE https://opensource-socialnetwork.org/licence # @link https://www.opensource-socialnetwork.org Options -Indexes Options +SymlinksIfOwnerMatch DirectoryIndex index.php <Files "error_log"> order allow,deny deny from all </Files> <Files ".user.ini"> order allow,deny deny from all </Files> <FilesMatch "(nginx|htaccess).dist"> order allow,deny deny from all </FilesMatch> #Disallow CLI and CRON script from browser RedirectMatch 404 ^/system/handlers/cli$ RedirectMatch 404 ^/system/handlers/cron$ <IfModule mod_mime.c> AddType image/vnd.microsoft.icon .ico </IfModule> <IfModule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 1 year" </IfModule> <FilesMatch "\.(jpg|jpeg|gif|png|mp3|flv|mov|avi|3pg|html|htm|swf|js|css|ico)$"> FileETag MTime Size </FilesMatch> <IfModule mod_rewrite.c> #SetEnv HTTP_MOD_REWRITE 1 RewriteEngine on RewriteRule ^rewrite.php$ installation/tests/apache_rewrite.php [L] RewriteRule ^action\/([A-Za-z0-9\_\-\/]+)$ system/handlers/actions.php?action=$1&%{QUERY_STRING} [L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([A-Za-z0-9\_\-]+)$ index.php?h=$1 [QSA,L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([A-Za-z0-9\_\-]+)\/(.*)$ index.php?h=$1&p=$2 [QSA,L] </IfModule> #https://github.com/nextcloud/server/issues/26569 <IfModule mod_php.c> php_value memory_limit 512M php_value register_globals 0 php_value post_max_size 105M php_value upload_max_filesize 100M php_value default_charset "UTF-8" php_flag session.cookie_httponly on </IfModule>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
images | Folder | 0755 |
|
|
php53 | Folder | 0755 |
|
|
php56 | Folder | 0755 |
|
|
php71 | Folder | 0755 |
|
|
php81 | Folder | 0755 |
|
|
php82 | Folder | 0755 |
|
|
.htaccess | File | 1.81 KB | 0644 |
|
.user.ini | File | 330 B | 0644 |
|
_index.php | File | 59 B | 0644 |
|
changelog.txt | File | 2.51 KB | 0644 |
|
clone.php | File | 4.49 KB | 0644 |
|
edit.php | File | 4.95 KB | 0644 |
|
edit.xml | File | 433 B | 0644 |
|
fileindex.php | File | 346 B | 0644 |
|
import.php | File | 3.04 KB | 0644 |
|
info.xml | File | 3.3 KB | 0644 |
|
install.js | File | 924 B | 0644 |
|
install.php | File | 12.16 KB | 0644 |
|
install.xml | File | 1.33 KB | 0644 |
|
md5 | File | 1.2 KB | 0644 |
|
notes.txt | File | 578 B | 0644 |
|
soft.htaccess | File | 127 B | 0644 |
|
upgrade.php | File | 4.85 KB | 0644 |
|
upgrade.xml | File | 382 B | 0644 |
|