• Resolved elarpa

    (@elarpa)


    I found the perfect match to my problem on http://codex.wordpress.org/Debugging_a_WordPress_Network :
    “Mod_rewrite not working
    Main site works but 404 errors show up when trying to access added child subdomain sites”

    But the stated solution is chineese to me – I have no idea what to do with this answer:

    “Ubuntu 10.04 LAMP apache2 install needs these steps:
    sudo a2enmod rewrite
    sudo nano /etc/apache2/sites-avail/default

    and change in two places the ‘AllowOveride None’ to ‘AllowOveride all’
    /etc/init.d/apache2 restart

    to restart apache2. Note that on more modern versions of Ubuntu the following syntax is preferred (for restarting services such as Apache – also note that in either case you may need to use prepend sudo):
    service apache2 restart”

    Can someone translate this into dummy-language for me, please?
    As far as I know I have no such install and cannot find anywhere it says ‘AllowOveride None’. Where is this?
    Thank you very much for your help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    As far as I know I have no such install and cannot find anywhere it says ‘AllowOveride None’. Where is this?

    It’s in your httpd.conf file.

    That;s a server level setting. I’d say ask your webhost but…

    “Mod_rewrite not working
    Main site works but 404 errors show up when trying to access added child subdomain sites”

    What does the 404 look like?

    Thread Starter elarpa

    (@elarpa)

    I looked through the entire WP installation and cannot find any httpd.conf file anywhere… Where is this?

    The 404 error is a very big “404” written all over the screen.

    Sometimes it redirects to my main site instead of displaying the 404 error. But is not supposed to do that either…

    Thread Starter elarpa

    (@elarpa)

    And where am I supposed to put the sudo lines…???

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    STOP!

    If you do not know what ‘sudo’ is DO NOT ATTEMPT TO FIX YOUR HTTPD.CONF FILE ON YOUR OWN

    Sometimes it redirects to my main site instead of displaying the 404 error. But is not supposed to do that either…

    Acutally yeah it is in certain situations, but that’s neither here nor there.

    Ask your webhost to check on your httpd.conf for you.. Ask them this, specifically: “I’m having a problem with complex .htaccess rules not being read properly on my site. Can you check if mod_rewrite is active and, if so, is AllowOverride set to either “All” or “Options All” in my httpd.conf? Thanks!”

    DO NOT attempt to mess with this on your own if you don’t know what sudo is. That will end badly.

    Thread Starter elarpa

    (@elarpa)

    Thank you very much. I will ask my webhost to see if they can fix it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘404 mod_rewrite error’ is closed to new replies.