Hi!
I'm having to migrate a wiki to another server, and I have basically copied
over all the Apache config files from the running wiki. However, when I
access my web page, all that appears on the screen is "run();".
I'm pretty new to web servers and development, but I've been giving it a
good shot for a little while to no avail yet.
Here is my VHost config file:
<VirtualHost *:80>
ServerAlias
wikiinfra.holimetrix.com
RewriteEngine On
#
# # Short url for wiki pages
# RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/mediawiki/index.php [L]
#
# RewriteRule ^/mw-config/*$ %{DOCUMENT_ROOT}/mediawiki/mw-config/
[L]
#
# # Redirect / to Main Page
# RewriteRule ^/*$ %{DOCUMENT_ROOT}/mediawiki/index.php [L]
#
# RewriteEngine On
# RewriteRule ^/$ /mediawiki/ [Last]
# RewriteRule ^$ /w/ [Last]
# RewriteEngine On
# RewriteRule ^/$ /w/ [Last]
# RewriteRule ^$ /w/ [Last]
# RedirectMatch permanent ^/$ /w/
# RewriteEngine On
# # based on
http://www.mediawiki.org/wiki/Thread:Project:Support_desk/CSS_is_not_loadin…
# RewriteRule
^/w/(images/|skins/|(api|img_auth|index|load|opensearch_desc|redirect|thumb|trackback)\.php)
- [Last]
#
# #based on
http://www.mediawiki.org/wiki/Manual:Short_URL/Apache#Plan
# RewriteRule ^/?w(/.*)?$ %{DOCUMENT_ROOT}/w/index.php/$1 [Last]
DocumentRoot /projects/www/wikiinfra/html/mediawiki/
<Directory /projects/www/wikiinfra/html/mediawiki/>
Require all granted
include /etc/apache2/admin_access.conf
Options -Indexes
</Directory>
CustomLog "|/usr/bin/cronolog
/projects/www/wikiinfra/logs/%Y-%m/access-%Y-%m-%d.log"
vhost_combined_time_end
ErrorLog
</VirtualHost>
Any help would be welcome :)
Thanks!