开发者

Localhost pointing to different codeFolder locations

开发者 https://www.devze.com 2023-04-13 00:50 出处:网络
WINDOWS XP PROFESSIONAL/coldfusion/Dreamweaver/Fusebox-3 I have the same CF-8 code in two places * folder A:- c:\\Coldfusion8\\wwwroot\\BootsmanCode\\code

WINDOWS XP PROFESSIONAL/coldfusion/Dreamweaver/Fusebox-3

I have the same CF-8 code in two places

* folder A:- c:\Coldfusion8\wwwroot\BootsmanCode\code
* folder B:- c:\wwwroot\BootsmanCode\code    

          Local:- http://127.0.0.1:8500/BootsmanCode/
          http://l开发者_C百科ocalhost:8500/BootsmanCode/

ISSUE:- I am making my code changes in "folder B", testing it on http://localhost:8500. When I go home and use VPN, I cannot see these code changes when I call http://localhost:8500 from folder B Then when I use http://localhost:8500/, with code from folder A, I am able to see the code changes.

So the URL seems to be magically pointing to different folders at at diffent time.

Any correction to this please let me know?


Would need more detail for a more definitive answer, I'd be happy to take a closer look. But some things I would look at/ask/suggest include:

  1. If you're using IIS, do you have any bindings/host headers that route the request from one folder to another? Following up on VAS's comment (are we talking about a 127.0.0.1 vs. localhost showing different results issue?)
  2. From home, when you VPN... are you accessing http://localhost... from your PC? Or are you remote-desktopping to your PC at work and doing it from there? Localhost is relative to the machine that you're on.
  3. Make sure CF has template caching at 0.
  4. Make sure your browser isn't caching the site.
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号