TechPlatform - how to use Apache with NuSphere |
Re: TechPlatform - how to use Apache with NuSphere |
|
A) How to disable automatic Apache service start-up Generally it could be done this way: 1) You'll need Apache service name. You can get it in Services section in control panel or if you right click on "Start" / "My Computer" and select "Manage". There it is section "Services and Applications" and under it is "Services" section. You can find the exact name there, it should be "Apache2.2" or something like that. 2) Double click on the service to open properties. 3) Change "Start-up type" to "Manual" B) How to start the service manually Option A) Go to services as described above and start the service manually. Option B) 1) You'll need Apache service name (see A1 above how to get it). 2) Start command prompt (type "cmd" in "Run..." in Start menu). 3) Let's assume service name is "Apache2.2", then type this command:
hint You can create file "start.bat" with the command above and put a shortcut to it on your desktop, so you can just double click (run) the file. Similarly you can use "stop" or "restart" instead of "start" in the "sc" command. Important note for Vista and Windows 7 users you'll need to run "cmd" with administrative rights, otherwise you'll get "Access is denied." error when running the "sc" command
Option A) 1) When creating new project in workspace, select "Web server (Apache or other) used for development is located on this machine" option (default option). 2) Follow the instructions. 3) In "Web server document root directory is needed" 3.1) Set "Document root" to your project's web root accordingly (i.e. if project root is "C:\myproject", but web root is "C:\myproject\www_root"). 3.2) Set "URL" accorrdinly (i.e. "http://localhost/myproject/"). 4) Follow the instructions to finish creating new project. Option B) 1) Right click on project in workspace, select Properties. 2) In Properties tab in section Mapping select "HTTP mode (3rd party WEB server)". 2.1) Set "Root URL" to your local server (i.e. "http://localhost/myproject/") 2.2) If web root directory is different from project's root directory, set "Remote root directory" accordingly (i.e. if project root is "C:\myproject", but web root is "C:\myproject\www_root"). |
||||||||||||||||||
|
SSL support with Apache server |
|
I always had the doubt if there is SSL support included with Apache server for theNuSphere. This post cleared my doubts and I cannot thank you more for posting this article. Keep up the good work guys. Regards.
|
||||||||||||
|
TechPlatform - how to use Apache with NuSphere |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by