We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
ASP.NET Core
ASP.NET Core
Hey,
are you planning to implement support for ASP.NET Core 2.0 websites?
Thanks
are you planning to implement support for ASP.NET Core 2.0 websites?
Thanks
Re: ASP.NET Core
no, there is no plan to support asp.net.
Re: ASP.NET Core
for run asp.net applications on linux there is a project mono. in apache it is necessary to supply the necessary mod_mono module, and also create a template
template example(did not check because there are no sites on the servers):
to test the work you can use any template, adding an additional file /home/user/conf/httpd.you_site.conf, lines:
remember your_application = you_site_name
template example(did not check because there are no sites on the servers):
Code: Select all
<VirtualHost %ip%:%web_port%>
ServerName %domain_idn%
%alias_string%
ServerAdmin %email%
DocumentRoot %docroot%
ScriptAlias /cgi-bin/ %home%/%user%/web/%domain%/cgi-bin/
Alias /vstats/ %home%/%user%/web/%domain%/stats/
Alias /error/ %home%/%user%/web/%domain%/document_errors/
#SuexecUserGroup %user% %group%
CustomLog /var/log/%web_system%/domains/%domain%.bytes bytes
CustomLog /var/log/%web_system%/domains/%domain%.log combined
ErrorLog /var/log/%web_system%/domains/%domain%.error.log
MonoServerPath %domain_idn% "/usr/bin/mod-mono-server2"
MonoSetEnv %domain_idn% MONO_IOMAP=all
MonoApplications %domain_idn% "/:%docroot%"
<Directory %docroot%>
AllowOverride All
Options +Includes -Indexes +ExecCGI
php_admin_value open_basedir %docroot%:%home%/%user%/tmp
php_admin_value upload_tmp_dir %home%/%user%/tmp
php_admin_value session.save_path %home%/%user%/tmp
</Directory>
<Location "/">
Allow from all
Order allow,deny
MonoSetServerAlias %domain_idn%
SetHandler mono
SetOutputFilter DEFLATE
SetEnvIfNoCase Request_URI "\.(?:gif|jpe?g|png)$" no-gzip dont-vary
</Location>
<Directory %home%/%user%/web/%domain%/stats>
AllowOverride All
</Directory>
<IfModule mod_ruid2.c>
RMode config
RUidGid %user% %group%
RGroups apache
</IfModule>
<IfModule itk.c>
AssignUserID %user% %group%
</IfModule>
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript
</IfModule>
IncludeOptional %home%/%user%/conf/web/%web_system%.%domain_idn%.conf*
</VirtualHost>
Code: Select all
MonoServerPath your_application "/usr/bin/mod-mono-server2"
MonoSetEnv your_application MONO_IOMAP=all
MonoApplications your_application "/:/home/user/web/you_site_name/public_html"
<Location "/">
Allow from all
Order allow,deny
MonoSetServerAlias your_application
SetHandler mono
SetOutputFilter DEFLATE
SetEnvIfNoCase Request_URI "\.(?:gif|jpe?g|png)$" no-gzip dont-vary
</Location>
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript
</IfModule>