Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9138735
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T09:17:44+00:00 2026-06-17T09:17:44+00:00

I recently installed MediaWiki version 1.19 on a Debian server running Apache. I am

  • 0

I recently installed MediaWiki version 1.19 on a Debian server running Apache. I am able to access pages successfully. However, the pages come up unstyled. I cannot load the stylesheet in my browser.

Using Firebug, I’ve compared the response headers for my site to those for a Wikipedia page. The relevant difference appear to be that my site serves up the stylesheet url (load.php?debug=true&lang=en&modules=mediawiki.legacy.commonPrint%2Cshared|skins.vector&only=styles&skin=vector&*) as text/html content-type and Wikipedia serves it up text/css.

I suspect that it has something to do with the Apache rewrite module settings. I found this page discussing the issue and offering various suggestions for the rewrite rules. I’ve tried them all without any success.

One additional detail that may be relevant: I’m running the MediaWiki code out of the /var/www/wiki directory on my Debian server. I’ve updated the appropriate MediaWiki config settings and added these lines to the .htaccess file in /var/www:

RewriteEngine On

RewriteRule ^/$ /wiki/index.php?title=Main_Page [L,QSA]
RewriteRule ^/wiki/*$ /wiki/index.php?title=Main_Page [L,QSA]
RewriteRule ^/wiki/(.+)$ /wiki/index.php?title=$1 [L,QSA]

What can I do to get Apache to serve up this load.php?debug=true&lang=en&modules=mediawiki... link as text/css content?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T09:17:45+00:00Added an answer on June 17, 2026 at 9:17 am

    The issue turned out to be a basic configuration problem. I had the DocumentRoot in my Apache configuration set to /var/www/wiki. I had the wgScriptPath in LocalSettings.php set to /wiki.

    Changing wgScriptPath path to "" and getting rid of the .htaccess rules solved the problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently installed the open-jdk 7 in my ubuntu server. But the version is
I have recently installed a LAMP server running ubuntu server 11.04. I am trying
I recently installed Hadoop and am able to run simple programs. However I would
Recently installed Perl 5.16 and was able to install modules fine until today. Other
I recently installed KDevelop 4 for C++ development on my Macbook Pro running Ubuntu
I recently installed PHP APC on our server via our WHM panel (Web Host
I recently installed the RTM version of 4.0. I now receive an error when
I recently installed Visual Studio 2010 (Ultimate edition, final version released in April), and
Recently installed a SSL Cert on our server/domain, and I am realizing now that
I recently installed a local version of an in-progress wordpress.org blog on my Mac

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.