Project Infrastructure: Difference between revisions

Jump to navigation Jump to search
→‎wiki.octave.org: Update contents of .htaccess
(→‎wiki.octave.org: No more struggles with Extension:Math since MW 1.32.0 =))
(→‎wiki.octave.org: Update contents of .htaccess)
Line 68: Line 68:


{{File|.htaccess|<pre>
{{File|.htaccess|<pre>
# https://help.dreamhost.com/hc/en-us/articles/214895317-How-do-I-change-the-PHP-version-of-my-site- (2019-02-26)
AddHandler fcgid-script .php
FCGIWrapper "/dh/cgi-system/php72.cgi" .php
RewriteEngine on
RewriteEngine on


Line 73: Line 77:
## http://www.octave.org/wiki/index.php?title=OctConf_2012
## http://www.octave.org/wiki/index.php?title=OctConf_2012
RewriteCond %{QUERY_STRING} ^title=(.*)$
RewriteCond %{QUERY_STRING} ^title=(.*)$
RewriteRule ^/wiki/index\.php$ http://wiki.octave.org/%1?  
RewriteRule ^/wiki/index\.php$ https://wiki.octave.org/%1?  


RewriteCond %{QUERY_STRING} ^title=(.*)$
RewriteCond %{QUERY_STRING} ^title=(.*)$
RewriteRule ^/index\.php$ http://wiki.octave.org/%1?  
RewriteRule ^/index\.php$ https://wiki.octave.org/%1?  




Navigation menu