Hot answers tagged

2

You can have clean URLs with the following step. Install the wiki into http://localhost/w and NOT into http://localhost/wiki then Modify the following in LocalSettings.php after you have set it up: $wgArticlePath = "/wiki/$1"; In the ROOT directory place the following .htaccess file: RewriteEngine on ## uncomment this rule if you want to redirect to ...


1

Hm... try to put this code into your host file. <Directory "/path/to/your/dir"> Options Indexes FollowSymLinks MultiViews AllowOverride all Order Deny,Allow Allow from all Require all granted </Directory>


1

Yes this is possible provided that your DNS daemon has the capabilities to provide the closest web server IP based on requesting client IP. Not a typical DNS daemon deployment that's for sure. Found two links on configuring BIND to accomplish what you're looking for: HOWTO Implement GeoDNS using BIND - scripts for configuring BIND to be GeoIP aware. ...


1

If you're configuring vhosts in separated conf file, you've also to include that file (remove comment near the end of httpd.conf file), uncomment Include conf/extra/httpd-vhosts.conf


1

Have a look at my answer (on Drupal.SE) to the question "How to use the Rules module to implement a custom redirect for an outdated URL?". I bet the solution described there (using the Rules module) also works for this case. As detailed in that answer: the "clue" to get this to work, is to use the Rules Event "Drupal is initializing". That will ensure that ...



Only top voted, non community-wiki answers of a minimum length are eligible