Jump to content

hyperserver multy app config


donlego

Recommended Posts

using hyper server with xamp apache

1 have 1 app exe 2 folder app

ex :

1. my_app_1(folder)

2.my_app_2(folder)

configure in http config

<Directory "C:/my_app_1">
    Options Indexes FollowSymLinks ExecCGI
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

<Directory "C:/my_app_2">
    Options Indexes FollowSymLinks ExecCGI
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

Alias /my_app_1 "C:/my_app_1/hyper_app.dll"
Alias /my_app_2 "C:/my_app_2/hyper_app.dll"

 

i can acces my_app_1

but cannot acces my_app_2

on the hyper sever conf i use port

on folder my_app_1

start_port=16384

on folder my_app_2

start_port=16484

 

but i cannot acces my_app_2

image.thumb.png.eff094d375e1462b082aa336533be771.png

 

is there any missing config  ?

Link to comment
Share on other sites

On 10/3/2019 at 5:12 AM, donlego said:

Alias /my_app_1 "C:/my_app_1/hyper_app.dll"
Alias /my_app_2 "C:/my_app_2/hyper_app.dll"

I have some apps in same server without problem.

My Alias lines are similar to yours, bat have some diferences.

You can try the way that I do, perhaps works for you:

Alias /my_app_1 "C:/my_app_1"
Alias /my_app_2 "C:/my_app_2"

 

If don't work, try this:

 

<Directory "C:/my_app_1">
    Options FollowSymLinks ExecCGI
    AllowOverride None
    Order allow,deny
    Allow from all
    DirectoryIndex hyper_app.dll
</Directory>
Alias /my_app_1 "C:/my_app_1"

<Directory "C:/my_app_2">
    Options FollowSymLinks ExecCGI
    AllowOverride None
    Order allow,deny
    Allow from all
    DirectoryIndex hyper_app.dll
</Directory>
Alias /my_app_2 "C:/my_app_2"

 

I hope this helps.

 

Link to comment
Share on other sites

13 hours ago, jahlxx said:

I have some apps in same server without problem.

My Alias lines are similar to yours, bat have some diferences.

You can try the way that I do, perhaps works for you:

Alias /my_app_1 "C:/my_app_1"
Alias /my_app_2 "C:/my_app_2"

 

If don't work, try this:

 

<Directory "C:/my_app_1">
    Options FollowSymLinks ExecCGI
    AllowOverride None
    Order allow,deny
    Allow from all
    DirectoryIndex hyper_app.dll
</Directory>
Alias /my_app_1 "C:/my_app_1"

<Directory "C:/my_app_2">
    Options FollowSymLinks ExecCGI
    AllowOverride None
    Order allow,deny
    Allow from all
    DirectoryIndex hyper_app.dll
</Directory>
Alias /my_app_2 "C:/my_app_2"

 

I hope this helps.

 

hello jahlxx

its work thank you jahlxx
 

Link to comment
Share on other sites

On 10/9/2019 at 7:45 PM, jahlxx said:

I have some apps in same server without problem.

My Alias lines are similar to yours, bat have some diferences.

You can try the way that I do, perhaps works for you:

Alias /my_app_1 "C:/my_app_1"
Alias /my_app_2 "C:/my_app_2"

 

If don't work, try this:

 

<Directory "C:/my_app_1">
    Options FollowSymLinks ExecCGI
    AllowOverride None
    Order allow,deny
    Allow from all
    DirectoryIndex hyper_app.dll
</Directory>
Alias /my_app_1 "C:/my_app_1"

<Directory "C:/my_app_2">
    Options FollowSymLinks ExecCGI
    AllowOverride None
    Order allow,deny
    Allow from all
    DirectoryIndex hyper_app.dll
</Directory>
Alias /my_app_2 "C:/my_app_2"

 

I hope this helps.

 

hello jahlxx

image.png.e7e49b05ed14e1f3f3a73c44bd435679.png

the app url is work but the server url is not work with error object is not found

i try both url

ip_address/my_app_1/server

ip_address/my_app_2/server

is there any miss configuration ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...