Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Quick question on editing the virtual host config
#1
I have a quick question.....

I am trying to edit the virtualhost config to load a mod for apache specific to the virtual host. Any ideas how to do this? When I add this I can not restart the server(just for info purposes the follow in what i am trying to enter)

MonoDocumentRootDir "/var/www/vhosts/user/site-folder"
MonoServerPath rootsite "/opt/mono-2.8.2/mod-mono-server2"
MonoApplications rootsite "/:/var/www/vhosts/user/site-folder"

<Directory /var/www/vhosts/user/site-folder>
MonoSetServerAlias rootsite
SetHandler mono
AddHandler mod_mono .aspx .ascx .asax .ashx .config .cs .asmx
</Directory>

Restored from old drupal forum, for user uid:3689 username:reddragon
You may reset your password to access your new account here.
Reply
#2
all apache directives should be entered this way:
if you want to apply to all domains:
edit apachetemplate file in ehcp dir.

if you want to apply to a single/some domain:
choose that domain, click on "edit apache template"

you may enter any valid syntax apache directive there.

note that, if you enter something wrong, your apache will not work, and your ehcp gui may not be accessible,
in that case, follow:
Common daemon commands that can be given from command line: http://ehcp.net/?q=node/897 (may be used when web interface cannot be reached)


Restored from old drupal forum, for user uid:3689 username:reddragon
You may reset your password to access your new account here.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)

Online Shopping App
Online Shopping - E-Commerce Platform
Online Shopping - E-Commerce Platform
Feinunze Schmuck Jewelery Online Shopping