Ssh-tunnel to webserver - cannot access mobile website (subdirectory-site) [closed] Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Come Celebrate our 10 Year Anniversary!SSH remote access vpn tunnelwith SSH only: reverse tunnel web access via ssh SOCKS proxyWordPress 3.5 Multisite and nginx siteurl issuesSite to site ssh tunnelHow can a bog-standard Wordpress install break PHP?Nginx + Wordpress in subdirectoryAWStats in subdirectory of Wordpress shows 404 error when password protectedWordpress shared hosting (chrooted SFTP), plugin issuesApache not obeying Wordpress's htaccess rulesSetup wordpress container in subdirectory with nginx and mariadb
Why not use the yoke to control yaw, as well as pitch and roll?
Recursive calls to a function - why is the address of the parameter passed to it lowering with each call?
Putting Ant-Man on house arrest
Compiling and throwing simple dynamic exceptions at runtime for JVM
What is the evidence that custom checks in Northern Ireland are going to result in violence?
How can I introduce the names of fantasy creatures to the reader?
Raising a bilingual kid. When should we introduce the majority language?
How to break 信じようとしていただけかも知れない into separate parts?
Why are two-digit numbers in Jonathan Swift's "Gulliver's Travels" (1726) written in "German style"?
If gravity precedes the formation of a solar system, where did the mass come from that caused the gravity?
Is Vivien of the Wilds + Wilderness Reclamation a competitive combo?
What kind of equipment or other technology is necessary to photograph sprites (atmospheric phenomenon)
"Destructive force" carried by a B-52?
Pointing to problems without suggesting solutions
How is an IPA symbol that lacks a name (e.g. ɲ) called?
Will the Antimagic Field spell cause elementals not summoned by magic to dissipate?
Lights are flickering on and off after accidentally bumping into light switch
Converting a text document with special format to Pandas DataFrame
How to leave only the following strings?
Why isn't everyone flabbergasted about Bran's "gift"?
How to ask rejected full-time candidates to apply to teach individual courses?
Can a Knight grant Knighthood to another?
Etymology of 見舞い
Should man-made satellites feature an intelligent inverted "cow catcher"?
Ssh-tunnel to webserver - cannot access mobile website (subdirectory-site) [closed]
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Come Celebrate our 10 Year Anniversary!SSH remote access vpn tunnelwith SSH only: reverse tunnel web access via ssh SOCKS proxyWordPress 3.5 Multisite and nginx siteurl issuesSite to site ssh tunnelHow can a bog-standard Wordpress install break PHP?Nginx + Wordpress in subdirectoryAWStats in subdirectory of Wordpress shows 404 error when password protectedWordpress shared hosting (chrooted SFTP), plugin issuesApache not obeying Wordpress's htaccess rulesSetup wordpress container in subdirectory with nginx and mariadb
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I need to work from home since my boss is on holiday this week. I have an apache2-webserver with a wordpress-installation running. At work the mainsite and the mobile-site in the subdirectory works. Both are displaying and are accessable. However at home it is not: I connect my home-machine via ssh-tunnel to (test-)webserver. I can login normally into the network-admin-dashboard and the mainsite-dashboard. But the site in the subdirectory always redirects me to the mainpage(It always loads the mainsite-dashboard). Trying to display the mobile-site throws the wordpress-404-error.
Can somebody please help? It is urgent! I NEED to work on it.
.htaccess, wp-config.php are correct. The server files are correct. The ssh-tunnel is up correctly. Changing Permalink-structure to default for the subdirectory-site only throws an apache-404-error. I tried to access the mobile-site from the dashboard (already logged in) and it loads the mainsite-dashboard. And I tried logging in to wordpress directly to the mobile-site but it also only loads the mainsite-dashboard.
my .htaccess:
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %REQUEST_FILENAME -f [OR]
RewriteCond %REQUEST_FILENAME -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
RewriteRule . index.php [L]
The command for the ssh-tunnel looks like this:
ssh -p 51425 -L 55080:127.0.0.1:80 -i /path-to-ssh-key/ssh-key username@www.company.de
And I force firefox via proxy-settings through this tunnel. With local-host as proxy and portnumber 55080.
wordpress apache2 ssh-tunnel
New contributor
closed as off-topic by kubanczyk, womble♦ Apr 16 at 23:32
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions seeking installation, configuration or diagnostic help must include the desired end state, the specific problem or error, sufficient information about the configuration and environment to reproduce it, and attempted solutions. Questions without a clear problem statement are not useful to other readers and are unlikely to get good answers." – womble
|
show 6 more comments
I need to work from home since my boss is on holiday this week. I have an apache2-webserver with a wordpress-installation running. At work the mainsite and the mobile-site in the subdirectory works. Both are displaying and are accessable. However at home it is not: I connect my home-machine via ssh-tunnel to (test-)webserver. I can login normally into the network-admin-dashboard and the mainsite-dashboard. But the site in the subdirectory always redirects me to the mainpage(It always loads the mainsite-dashboard). Trying to display the mobile-site throws the wordpress-404-error.
Can somebody please help? It is urgent! I NEED to work on it.
.htaccess, wp-config.php are correct. The server files are correct. The ssh-tunnel is up correctly. Changing Permalink-structure to default for the subdirectory-site only throws an apache-404-error. I tried to access the mobile-site from the dashboard (already logged in) and it loads the mainsite-dashboard. And I tried logging in to wordpress directly to the mobile-site but it also only loads the mainsite-dashboard.
my .htaccess:
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %REQUEST_FILENAME -f [OR]
RewriteCond %REQUEST_FILENAME -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
RewriteRule . index.php [L]
The command for the ssh-tunnel looks like this:
ssh -p 51425 -L 55080:127.0.0.1:80 -i /path-to-ssh-key/ssh-key username@www.company.de
And I force firefox via proxy-settings through this tunnel. With local-host as proxy and portnumber 55080.
wordpress apache2 ssh-tunnel
New contributor
closed as off-topic by kubanczyk, womble♦ Apr 16 at 23:32
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions seeking installation, configuration or diagnostic help must include the desired end state, the specific problem or error, sufficient information about the configuration and environment to reproduce it, and attempted solutions. Questions without a clear problem statement are not useful to other readers and are unlikely to get good answers." – womble
Why the hell should this question be offtopic? It is a serious issue I have there. I gave any information I have on the issue. And I can assume that the configuration-files on the server and wordpress are correct because it is working at work.
– Zehke
Apr 17 at 3:01
It is not offtopic, it is unclear, i.e. we think we can't answer your question in its current form, but we might be able if you extend it with some required configuration data (that reasoning is effectively a subset of the "unclear" close reason). Your edit helped a lot, but it is still unclear. We don't know anything about your sshtunnel configuration, although likely there is the problem. I suspect, using the ssh tunnel, you are accessing your Wordpress on a different hostname/port, as usual. Wordpress is very disliking to show anywhere, except on its real URL.
– peterh
2 days ago
If you are accessing the wordpress on a different hostname/port, it won't work. You need to hack your sshtunnel to access your wordpress on the same hostname and same port, where it always is. It is a clear disadvantage of the wordpress, however typically there are workarounds. I could write these in an answer, but how? It is quite possible, that you have some different problem.
– peterh
2 days ago
Btw, from your "maschine" I see you are from Germany. Willkommen :-) My experience is that Wordpress is very popular in Germany, because it creates cheaply and quickly good-looking company webpages. One of the disadvantages is this. Another disadvantage is the terrible mess of JSONs what is does on its Mysql. And of course it supports exclusively mysql. But don't worry, just insert the infos of your ssh and maybe I will be able to help.
– peterh
2 days ago
Thanks @peterh. The ssh-tunnel looks like this:ssh -51425 -p 55080:127.0.0.1:80 -i /path-to-ssh-key/ username@www.company.de
– Zehke
yesterday
|
show 6 more comments
I need to work from home since my boss is on holiday this week. I have an apache2-webserver with a wordpress-installation running. At work the mainsite and the mobile-site in the subdirectory works. Both are displaying and are accessable. However at home it is not: I connect my home-machine via ssh-tunnel to (test-)webserver. I can login normally into the network-admin-dashboard and the mainsite-dashboard. But the site in the subdirectory always redirects me to the mainpage(It always loads the mainsite-dashboard). Trying to display the mobile-site throws the wordpress-404-error.
Can somebody please help? It is urgent! I NEED to work on it.
.htaccess, wp-config.php are correct. The server files are correct. The ssh-tunnel is up correctly. Changing Permalink-structure to default for the subdirectory-site only throws an apache-404-error. I tried to access the mobile-site from the dashboard (already logged in) and it loads the mainsite-dashboard. And I tried logging in to wordpress directly to the mobile-site but it also only loads the mainsite-dashboard.
my .htaccess:
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %REQUEST_FILENAME -f [OR]
RewriteCond %REQUEST_FILENAME -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
RewriteRule . index.php [L]
The command for the ssh-tunnel looks like this:
ssh -p 51425 -L 55080:127.0.0.1:80 -i /path-to-ssh-key/ssh-key username@www.company.de
And I force firefox via proxy-settings through this tunnel. With local-host as proxy and portnumber 55080.
wordpress apache2 ssh-tunnel
New contributor
I need to work from home since my boss is on holiday this week. I have an apache2-webserver with a wordpress-installation running. At work the mainsite and the mobile-site in the subdirectory works. Both are displaying and are accessable. However at home it is not: I connect my home-machine via ssh-tunnel to (test-)webserver. I can login normally into the network-admin-dashboard and the mainsite-dashboard. But the site in the subdirectory always redirects me to the mainpage(It always loads the mainsite-dashboard). Trying to display the mobile-site throws the wordpress-404-error.
Can somebody please help? It is urgent! I NEED to work on it.
.htaccess, wp-config.php are correct. The server files are correct. The ssh-tunnel is up correctly. Changing Permalink-structure to default for the subdirectory-site only throws an apache-404-error. I tried to access the mobile-site from the dashboard (already logged in) and it loads the mainsite-dashboard. And I tried logging in to wordpress directly to the mobile-site but it also only loads the mainsite-dashboard.
my .htaccess:
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %REQUEST_FILENAME -f [OR]
RewriteCond %REQUEST_FILENAME -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
RewriteRule . index.php [L]
The command for the ssh-tunnel looks like this:
ssh -p 51425 -L 55080:127.0.0.1:80 -i /path-to-ssh-key/ssh-key username@www.company.de
And I force firefox via proxy-settings through this tunnel. With local-host as proxy and portnumber 55080.
wordpress apache2 ssh-tunnel
wordpress apache2 ssh-tunnel
New contributor
New contributor
edited yesterday
Zehke
New contributor
asked Apr 16 at 15:38
ZehkeZehke
11
11
New contributor
New contributor
closed as off-topic by kubanczyk, womble♦ Apr 16 at 23:32
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions seeking installation, configuration or diagnostic help must include the desired end state, the specific problem or error, sufficient information about the configuration and environment to reproduce it, and attempted solutions. Questions without a clear problem statement are not useful to other readers and are unlikely to get good answers." – womble
closed as off-topic by kubanczyk, womble♦ Apr 16 at 23:32
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions seeking installation, configuration or diagnostic help must include the desired end state, the specific problem or error, sufficient information about the configuration and environment to reproduce it, and attempted solutions. Questions without a clear problem statement are not useful to other readers and are unlikely to get good answers." – womble
Why the hell should this question be offtopic? It is a serious issue I have there. I gave any information I have on the issue. And I can assume that the configuration-files on the server and wordpress are correct because it is working at work.
– Zehke
Apr 17 at 3:01
It is not offtopic, it is unclear, i.e. we think we can't answer your question in its current form, but we might be able if you extend it with some required configuration data (that reasoning is effectively a subset of the "unclear" close reason). Your edit helped a lot, but it is still unclear. We don't know anything about your sshtunnel configuration, although likely there is the problem. I suspect, using the ssh tunnel, you are accessing your Wordpress on a different hostname/port, as usual. Wordpress is very disliking to show anywhere, except on its real URL.
– peterh
2 days ago
If you are accessing the wordpress on a different hostname/port, it won't work. You need to hack your sshtunnel to access your wordpress on the same hostname and same port, where it always is. It is a clear disadvantage of the wordpress, however typically there are workarounds. I could write these in an answer, but how? It is quite possible, that you have some different problem.
– peterh
2 days ago
Btw, from your "maschine" I see you are from Germany. Willkommen :-) My experience is that Wordpress is very popular in Germany, because it creates cheaply and quickly good-looking company webpages. One of the disadvantages is this. Another disadvantage is the terrible mess of JSONs what is does on its Mysql. And of course it supports exclusively mysql. But don't worry, just insert the infos of your ssh and maybe I will be able to help.
– peterh
2 days ago
Thanks @peterh. The ssh-tunnel looks like this:ssh -51425 -p 55080:127.0.0.1:80 -i /path-to-ssh-key/ username@www.company.de
– Zehke
yesterday
|
show 6 more comments
Why the hell should this question be offtopic? It is a serious issue I have there. I gave any information I have on the issue. And I can assume that the configuration-files on the server and wordpress are correct because it is working at work.
– Zehke
Apr 17 at 3:01
It is not offtopic, it is unclear, i.e. we think we can't answer your question in its current form, but we might be able if you extend it with some required configuration data (that reasoning is effectively a subset of the "unclear" close reason). Your edit helped a lot, but it is still unclear. We don't know anything about your sshtunnel configuration, although likely there is the problem. I suspect, using the ssh tunnel, you are accessing your Wordpress on a different hostname/port, as usual. Wordpress is very disliking to show anywhere, except on its real URL.
– peterh
2 days ago
If you are accessing the wordpress on a different hostname/port, it won't work. You need to hack your sshtunnel to access your wordpress on the same hostname and same port, where it always is. It is a clear disadvantage of the wordpress, however typically there are workarounds. I could write these in an answer, but how? It is quite possible, that you have some different problem.
– peterh
2 days ago
Btw, from your "maschine" I see you are from Germany. Willkommen :-) My experience is that Wordpress is very popular in Germany, because it creates cheaply and quickly good-looking company webpages. One of the disadvantages is this. Another disadvantage is the terrible mess of JSONs what is does on its Mysql. And of course it supports exclusively mysql. But don't worry, just insert the infos of your ssh and maybe I will be able to help.
– peterh
2 days ago
Thanks @peterh. The ssh-tunnel looks like this:ssh -51425 -p 55080:127.0.0.1:80 -i /path-to-ssh-key/ username@www.company.de
– Zehke
yesterday
Why the hell should this question be offtopic? It is a serious issue I have there. I gave any information I have on the issue. And I can assume that the configuration-files on the server and wordpress are correct because it is working at work.
– Zehke
Apr 17 at 3:01
Why the hell should this question be offtopic? It is a serious issue I have there. I gave any information I have on the issue. And I can assume that the configuration-files on the server and wordpress are correct because it is working at work.
– Zehke
Apr 17 at 3:01
It is not offtopic, it is unclear, i.e. we think we can't answer your question in its current form, but we might be able if you extend it with some required configuration data (that reasoning is effectively a subset of the "unclear" close reason). Your edit helped a lot, but it is still unclear. We don't know anything about your sshtunnel configuration, although likely there is the problem. I suspect, using the ssh tunnel, you are accessing your Wordpress on a different hostname/port, as usual. Wordpress is very disliking to show anywhere, except on its real URL.
– peterh
2 days ago
It is not offtopic, it is unclear, i.e. we think we can't answer your question in its current form, but we might be able if you extend it with some required configuration data (that reasoning is effectively a subset of the "unclear" close reason). Your edit helped a lot, but it is still unclear. We don't know anything about your sshtunnel configuration, although likely there is the problem. I suspect, using the ssh tunnel, you are accessing your Wordpress on a different hostname/port, as usual. Wordpress is very disliking to show anywhere, except on its real URL.
– peterh
2 days ago
If you are accessing the wordpress on a different hostname/port, it won't work. You need to hack your sshtunnel to access your wordpress on the same hostname and same port, where it always is. It is a clear disadvantage of the wordpress, however typically there are workarounds. I could write these in an answer, but how? It is quite possible, that you have some different problem.
– peterh
2 days ago
If you are accessing the wordpress on a different hostname/port, it won't work. You need to hack your sshtunnel to access your wordpress on the same hostname and same port, where it always is. It is a clear disadvantage of the wordpress, however typically there are workarounds. I could write these in an answer, but how? It is quite possible, that you have some different problem.
– peterh
2 days ago
Btw, from your "maschine" I see you are from Germany. Willkommen :-) My experience is that Wordpress is very popular in Germany, because it creates cheaply and quickly good-looking company webpages. One of the disadvantages is this. Another disadvantage is the terrible mess of JSONs what is does on its Mysql. And of course it supports exclusively mysql. But don't worry, just insert the infos of your ssh and maybe I will be able to help.
– peterh
2 days ago
Btw, from your "maschine" I see you are from Germany. Willkommen :-) My experience is that Wordpress is very popular in Germany, because it creates cheaply and quickly good-looking company webpages. One of the disadvantages is this. Another disadvantage is the terrible mess of JSONs what is does on its Mysql. And of course it supports exclusively mysql. But don't worry, just insert the infos of your ssh and maybe I will be able to help.
– peterh
2 days ago
Thanks @peterh. The ssh-tunnel looks like this:
ssh -51425 -p 55080:127.0.0.1:80 -i /path-to-ssh-key/ username@www.company.de
– Zehke
yesterday
Thanks @peterh. The ssh-tunnel looks like this:
ssh -51425 -p 55080:127.0.0.1:80 -i /path-to-ssh-key/ username@www.company.de
– Zehke
yesterday
|
show 6 more comments
0
active
oldest
votes
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Why the hell should this question be offtopic? It is a serious issue I have there. I gave any information I have on the issue. And I can assume that the configuration-files on the server and wordpress are correct because it is working at work.
– Zehke
Apr 17 at 3:01
It is not offtopic, it is unclear, i.e. we think we can't answer your question in its current form, but we might be able if you extend it with some required configuration data (that reasoning is effectively a subset of the "unclear" close reason). Your edit helped a lot, but it is still unclear. We don't know anything about your sshtunnel configuration, although likely there is the problem. I suspect, using the ssh tunnel, you are accessing your Wordpress on a different hostname/port, as usual. Wordpress is very disliking to show anywhere, except on its real URL.
– peterh
2 days ago
If you are accessing the wordpress on a different hostname/port, it won't work. You need to hack your sshtunnel to access your wordpress on the same hostname and same port, where it always is. It is a clear disadvantage of the wordpress, however typically there are workarounds. I could write these in an answer, but how? It is quite possible, that you have some different problem.
– peterh
2 days ago
Btw, from your "maschine" I see you are from Germany. Willkommen :-) My experience is that Wordpress is very popular in Germany, because it creates cheaply and quickly good-looking company webpages. One of the disadvantages is this. Another disadvantage is the terrible mess of JSONs what is does on its Mysql. And of course it supports exclusively mysql. But don't worry, just insert the infos of your ssh and maybe I will be able to help.
– peterh
2 days ago
Thanks @peterh. The ssh-tunnel looks like this:
ssh -51425 -p 55080:127.0.0.1:80 -i /path-to-ssh-key/ username@www.company.de
– Zehke
yesterday