การคอนฟิก Apache สำหรับ WordPress MU

Apache

Apache must be configured so that mod_rewrite works. Here are instructions for Apache 2. Apache 1.3 is very similar.

  1. Make sure a line like the following appears in your httpd.conf
    LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
  2. In the <Directory> directive of your virtual host, look for this
    line
    “AllowOverride None”
    and change it to
    “AllowOverride FileInfo Options”.
  3. In the <VirtualHost> section of the config file for your host there
    will be a line defining the hostname. You need to add the following
    if you want virtual hosts to work properly:
    “ServerAlias *.domain.tld”
    Replace domain.tld with whatever your one is, and remove the quotes.

ใส่ความเห็น