Jump to content

PW running on other Domain/Server than the Domain, using .htaccess


Frangoo
 Share

Recommended Posts

Hi,
 
I am sorry to aks that, as I am not sure if I am just blind :-|
 
My situation: I created PW on server A, having Domain A. Everthing fine, but my customer wants to keep his Domain on his server :(
To keep hes Domain present in the url-box of the browser, I use a forward with htaccess on his Server.
 
My htaccess looks like that:
 
Options +FollowSymLinks -MultiViews
RewriteEngine On
RewriteBase /

RewriteCond %{HTTP_HOST} ^(www\.)?domain-a\.com$ [NC]
RewriteRule ^ http://pw.domain-b.com/%{REQUEST_URI} [L,NE,P]

 
 
But PW is not able to retrieve the correct page, because I am always seeing the 404-error-template.
 
Does anyone has an Idea, where I can have a look to find the error? I guess any server-parameter is wrong and I have to adjust it.
Calling PW directly with the url on domain-b works.

Thanks a lot for any hint!

Link to comment
Share on other sites

Thanks for your comments!!! :)

I do not think he has any idea what nameserver means and how to change. But prop will be the only valid way to do that. I will talk with the customer.

And also I do not know if mod_proxy active.

I will find out, thank you ! :)

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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