Jump to content

[solved] Trouble accessing /processwire from IP address


Recommended Posts

Posted

I have a site set up like 111.222.33.44/~example/pw and /pw is where Processwire lives. The front page loads fine, but I can't access /processwire or any other virtual subdirectories via rewrite (error 404). I opened .htaccess to mash my keyboard and test for an error, and I did get an error, so it seems the .htaccess file is being read. Any advice?

Posted

I'm on mobile so sorry for short answer. There is one setting in htaccess you have to set because you have ~ in your url.

It is well commented so read the htaccess file and you should find help.

Posted

Ah, that was a perfect answer! Thank you. I uncommented this line:

RewriteBase /~username

And changed it to:

RewriteBase /~example/pw/

...and everything works now. Thanks again.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...