NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
TechPlatform - how to use Apache with NuSphere


Joined: 17 Jun 2010
Posts: 4
Reply with quote
Hello, i have NuSphere 4 and i have just installed TechPlatform, because i need the Apache server to rework my web using mod_rewrite, that is not supported by the NUSphere's internal server.

Let me ask 2 very beginner's questions:
1. How to choose the Apache not to start on the Windows (XP) startup
2. How to make Apache working with NuSphere instead the NuSphere internal server

Thak You very much.
View user's profileFind all posts by yeeshkulSend private message
Re: TechPlatform - how to use Apache with NuSphere


Joined: 11 Apr 2010
Posts: 90
Location: Prague, Czech Republic
Reply with quote
yeeshkul wrote:
1. How to choose the Apache not to start on the Windows (XP) startup


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:
Code:
sc start "Apache2.2"


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

yeeshkul wrote:
2. How to make Apache working with NuSphere instead the NuSphere internal server


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").
View user's profileFind all posts by fibizaSend private message
SSL support with Apache server


Joined: 17 Jul 2013
Posts: 1
Reply with quote
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.
View user's profileFind all posts by robertwebberSend private message
TechPlatform - how to use Apache with NuSphere
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic