Dinkin Posted April 10, 2019 Share Posted April 10, 2019 Сталкнулся с огроменной неприятностью.....как оказалось ISAPI не поддерживается в с++ (это был один из главных критериев при покупке, работа IS), об этом ни слова на сайте =( . Как выкрутится из положения, у меня один сервер и несколько проектов? Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted April 10, 2019 Administrators Share Posted April 10, 2019 Yes, Combo project is not implemented for CPP. However, You can still create ISAPI projects. Quote Link to comment Share on other sites More sharing options...
Dinkin Posted April 10, 2019 Author Share Posted April 10, 2019 Что Вы можете посоветовать? Проблема такая, у меня один физический сервер, планируется с десяток проектов Uni разместить нанем (под разными доменами). Я планировал это сделать чарез службу Win.IS, что она сама распределяла пути. Quote Link to comment Share on other sites More sharing options...
stas Posted April 10, 2019 Share Posted April 10, 2019 Смотрите Ставите ARR v3+ Url rewrite UniGuiHyperService+UniGuiApplication stand alone В ARR разрешаете прокси Далее создаете обыкновенный сайт в IIS Предположим у Вас UniGuiHyperService вертится на порту 8077 Допустим, вы хотите чтобы у вас сайт вертелся по имени mysite.com/myproject В Директории Сайта создаете папочку myproject Там создаете web.config следующего содержимого <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="redirect" stopProcessing="true"> <match url="(.*)" /> <action type="Rewrite" url="http://127.0.0.1:8077/{R:1}" /> </rule> </rules> </rewrite> </system.webServer> </configuration> Далее в UrlPath UniServermodule Вашего проекта И в cfg UniGuiHyperService прописываете /myproject Вуаля, Ваш сайт работает 1 Quote Link to comment Share on other sites More sharing options...
Dinkin Posted April 10, 2019 Author Share Posted April 10, 2019 Ни че Си, Stas , да Вы крут....я в течении сегодня - завтра опробую, если все заработает отпишу сюда. И данный способ можно а wiki вставить админам для таких как я с builder-ом =). Quote Link to comment Share on other sites More sharing options...
stas Posted April 10, 2019 Share Posted April 10, 2019 Посмотрите, под каким я номером на форуме. Quote Link to comment Share on other sites More sharing options...
Dinkin Posted April 12, 2019 Author Share Posted April 12, 2019 Есть ли такой вариант, что Builder не верно собирает модули? Так как все перепродвал, на сайт заходит, все прогружает, но ка ктолько я обращаюсь к dll, он ее не грузит Quote Link to comment Share on other sites More sharing options...
Dinkin Posted April 12, 2019 Author Share Posted April 12, 2019 Вобщем я решил. Как оказлось для с++, ряд ошибок в путях куда обращается dll (приходится подстараивать папки по IIS). и тогда все заработает Quote Link to comment Share on other sites More sharing options...
stas Posted April 12, 2019 Share Posted April 12, 2019 Proxy пробовали? Quote Link to comment Share on other sites More sharing options...
Dinkin Posted April 12, 2019 Author Share Posted April 12, 2019 Сначало да, после почитал документацию, оказалось что IIS функционал рассширивают и есть больше возможностей. В итоге оказалось что dll через Builder, ссылается на не существующие директории. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.