How can I add an external server in Aptana Studio 3, since there is no Servers view?
Here are some instructions on how to do it but they both use Windows > Show view > Servers which is no longer available in Aptana 3. With the console is possible? How?
I have a wamp server installed and I can run correctly php files开发者_如何学JAVA stored inside the htdocs folder. Now I want to run those php files from Aptana but I was getting blank pages.
In Project > Run Configurations I noticed the "Use selected server" option but no possibilty to add a server there, so I used "Use base URL" together with "Append project name" and now I can run php files from Aptana but I am still wondering if it is the best option and how I could tell Aptana to use the wamp server.
In Aptana Studio 3 you need to open Preferences, Aptana/ Web Servers node and add your local apache server there. If you set the document root correctly, your apache server will be used for previewing in Studio (See Preview button on toolbar).
Just add an alias in my apache config like
Alias /aptana "C:/Aptana/Aptana Studio 3 Workspace"
where I have MyApp project in Aptana,
Then in Run cnfiguration, Web Browser, My Apache Server,
Use base url = http://<domain><port>/aptana/
In my browser URL : http:///aptana/MyApp
That's all
I solved it by following method:
1.find the httpd.conf in {path to Apache}/conf/, set the "DocumentRoot" value as your Aptana workspace.
2.Run->Run Configurations.. choose a web browser, set the "Use base URL" value as http://localhost
/{here is your project name}/
3.run.
精彩评论