Jump to content

Recommended Posts

Posted

Hello,

I have recently finished local development with ProcessWire and moved to DEV VPS.

However, DEV VPS base url has port number in it. url:port.

So, when I either go to admin url:port/processwire and or any of the subpages, they are not found.

Do I need to modify anything in .htaccess or Apache? Does anyone have experience with this?

Posted
27 minutes ago, dragan said:

take a look here: 

 

Seen this thread, it is irrelevant to my problem as I have already input httpHost value with port in it. It is URL being inproperly rewritten.

Posted

Maybe you need to set up something in .htaccess (my local dev server doesn't use ports, otherwise I'd try out something)

  • Like 1
Posted
10 minutes ago, dragan said:

Maybe you need to set up something in .htaccess (my local dev server doesn't use ports, otherwise I'd try out something)

yes, that is my question ?

Posted
57 minutes ago, simonsays said:

yes, that is my question

Running PW on non-standard ports shouldn't be an issue. Did you develop in a subdirectory? If yes, there might be a leftover RewriteBase entry in .htaccess interfering with URL rewrites.

  • Like 1
Posted
14 hours ago, BitPoet said:

Running PW on non-standard ports shouldn't be an issue. Did you develop in a subdirectory? If yes, there might be a leftover RewriteBase entry in .htaccess interfering with URL rewrites.

So, what you are saying, is PW's .htaccess should work out of the box?

I did not change anything in .htaccess. I assume, the problem is somewhere in apache vhost, where I do not have admin access.

Posted
36 minutes ago, simonsays said:

I did not change anything in .htaccess. I assume, the problem is somewhere in apache vhost, where I do not have admin access.

In that case, you should probably check with your hoster whether .htaccess can be used and mod_rewrite is available at all.

  • Like 1
Posted
26 minutes ago, BitPoet said:

In that case, you should probably check with your hoster whether .htaccess can be used and mod_rewrite is available at all.

The problem was actually with apache virtual host (the <Directory> was not specified). Thanks for your patience and cooperation! ?

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...