Forum Replies Created

Viewing 5 replies - 16 through 20 (of 20 total)
  • Thread Starter progers

    (@progers)

    They work just fine in the admin site, just not the subsites.

    https://www.playcreativeinc.com – works correctly
    lincoln.playcreativeinc.com – does not work correctly

    I’m sorry for not understanding this but what do you mean before I mapped domains?

    Thread Starter progers

    (@progers)

    Yes I’m using subdomains, here is what Network Setup says I should be using under Network Admin:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    Thread Starter progers

    (@progers)

    I was playing around with the settings and I tried AllowOverride All, AllowOverride FileInfo Options, AllowOverride FileInfo Options All in the empty directory, /home/xxxxx/, and /home/xxxxx/playcreativeinc.com and none of those configurations worked correctly.

    I restarted apache after each change as well.

    I also was reading around some other posts and thought my RewriteRule was incorrect in .htaccess so I tried to update it to:

    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

    but that did not work either. So I reverted it back to:

    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

    Thread Starter progers

    (@progers)

    I tried stopping and starting the web server after updating httpd.conf to:

    <Directory /home/xxxxx>
    AllowOverride All
    </Directory>

    and:

    <Directory /home/xxxxx>
    AllowOverride FileInfo Options
    </Directory>

    and the image still doesn’t load. In the httpd.conf file I did notice this though:

    <Directory>
    AllowOverride None
    </Directory>
    ...
    <Directory /home/xxxxx>
    AllowOverride All
    </Directory>
    ...
    <Directory /home/xxxxx/playcreativeinc.com>
    AddHandler cgi-script .cgi .pl .py
    Options Includes Indexes SymLinksIfOwnerMatch ExecCGI
    ...large block of code
    </Directory>

    Should I change the empty directory at the top to AllowOverride All? Should I add AllowOverride All, (which doesn’t seem to specify it right now), to the playcreativeinc.com directory?

    Thread Starter progers

    (@progers)

    After contacting Dreamhost they finally told me how to update httpd.conf. I updated the options to the following:

    <Directory /home/xxxxx>
    AllowOverride All
    </Directory>

    And the image still fails to load. I also tried AllowOverride FileInfo Options and that didn’t seem to work either.

    I wonder if I should restart the web server and or wait a while after updating the httpd.conf for it to work.

Viewing 5 replies - 16 through 20 (of 20 total)