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;








-2















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.










share|improve this question









New contributor




Zehke is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











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
If this question can be reworded to fit the rules in the help center, please edit the question.
















  • 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

















-2















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.










share|improve this question









New contributor




Zehke is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











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
If this question can be reworded to fit the rules in the help center, please edit the question.
















  • 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













-2












-2








-2








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.










share|improve this question









New contributor




Zehke is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












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






share|improve this question









New contributor




Zehke is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Zehke is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited yesterday







Zehke













New contributor




Zehke is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Apr 16 at 15:38









ZehkeZehke

11




11




New contributor




Zehke is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Zehke is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Zehke is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




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
If this question can be reworded to fit the rules in the help center, please edit the question.







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
If this question can be reworded to fit the rules in the help center, please edit the question.












  • 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











  • 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










0






active

oldest

votes

















0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company