Eu usei o recurso AliasMatch
do servidor apache para corresponder a uma expressão regular PCRE como $ 1.aspx precedida por DocumentRoot
, /home/venkat/DevelopmentX64/HVR-Web-App/HVR-Web-App
.
Aqui estão minhas alterações para /etc/apache2/httpd.conf
ou apache2.conf
AliasMatch \.(aspx|jpg|gif|png)$ /home/venkat/DevelopmentX64/HVR-Web-App/HVR-Web-App$1.aspx
MonoDebug true
MonoAutoApplication disabled
AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx .axd
MonoApplications "/:/home/venkat/DevelopmentX64/HVR-Web-App/HVR-Web-App"
# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# ServerLimit: maximum value for MaxClients for the lifetime of the server
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule prefork.c>
StartServers 4
MinSpareServers 3
MaxSpareServers 10
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 10000
</IfModule>