Reputation: 755
Having Windows7x64, WAMP server and Komodo Edit, I want to open in browser via localhost
local file c:\wamp\www\site1\index.php with simple phpinfo(); inside. - And yes - I did mapping in Edit - Preferences - Mapped URIs ( http://localhost/site1
corresponds to "c:\wamp\www\site1" ). - However, in browser I see "file:///C:/wamp/www/site1/index.php". - Does someone here know how to overcome this? - It all works perfectly in PhpStorm, Netbeans, phpDesigner and Codelobster... - But they are all not free and therefore I would like to achieve this in Komodo Edit.
Upvotes: 2
Views: 1084
Reputation: 24617
Use a more generic URI mapping:
file:///C:/wamp/www/
maps to:
http://localhost/
Otherwise, use the "Properties and Settings" preference for the index.php
file:
Customize the "Preview URL" to be
http://localhost/site1
References
Upvotes: 1