melvincarvalho/foafme/master/.htaccess
#SSLOptions +StdEnvVars +ExportCertData
RewriteEngine on
RewriteRule sparql sparql.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_METHOD} ^(PUT)
RewriteRule ^(.*) webdav_server.php/$1 [L]
RewriteCond %{QUERY_STRING} _path]?=http
RewriteRule !^/?nofile.php - [C]
RewriteRule (.*) nofile.php/$1/%{QUERY_STRING} [L]
### if the requested url doesn't exist as a file (-f)
RewriteCond %{REQUEST_FILENAME} !-f
### and the requested url doesn't exist as a directory (-d)
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) view.php?username=$1 [PT,L,QSA]
On Github License
Files