X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=htaccess.sample;h=fb191cc7e8cf2e1082c6b0137641d68673697601;hb=2eea7a2d4b18765be42810eb53ff1ae710ffe7d4;hp=942e98334a0dd4f50ddd284b29a209c9b70afc78;hpb=fdaba2e94bf4948c14408c14865e8fc03e33cc43;p=quix0rs-gnu-social.git diff --git a/htaccess.sample b/htaccess.sample index 942e98334a..fb191cc7e8 100644 --- a/htaccess.sample +++ b/htaccess.sample @@ -1,9 +1,20 @@ RewriteEngine On - # NOTE: change this to your actual Laconica path; may be "/". + # NOTE: change this to your actual StatusNet base URL path, + # minus the domain part: + # + # http://example.com/ => / + # http://example.com/mublog/ => /mublog/ + # + RewriteBase / + #RewriteBase /mublog/ - RewriteBase /mublog/ + ## Uncomment these if having trouble with API authentication + ## when PHP is running in CGI or FastCGI mode. + # + #RewriteCond %{HTTP:Authorization} ^(.*) + #RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d