So this is really more flexible this way, and much easier to write application supporting CGI, FCGI, Nino and so on .. as demonstrated in hello_world This is a first version, more will come later, mainly migrating from Eiffel Web Reloaded to this Eiffel Web Framework project.
65 lines
1.5 KiB
ApacheConf
65 lines
1.5 KiB
ApacheConf
<VirtualHost *:80>
|
|
ServerAdmin webmaster@localhost
|
|
|
|
DocumentRoot /var/www
|
|
<Directory />
|
|
Options FollowSymLinks
|
|
AllowOverride None
|
|
</Directory>
|
|
<Directory /var/www/>
|
|
Options Indexes FollowSymLinks MultiViews
|
|
AllowOverride None
|
|
Order allow,deny
|
|
allow from all
|
|
</Directory>
|
|
|
|
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
|
|
<Directory "/usr/lib/cgi-bin">
|
|
AllowOverride None
|
|
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
|
|
Order allow,deny
|
|
Allow from all
|
|
</Directory>
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
|
|
# Possible values include: debug, info, notice, warn, error, crit,
|
|
# alert, emerg.
|
|
LogLevel warn
|
|
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
|
|
Alias /doc/ "/usr/share/doc/"
|
|
<Directory "/usr/share/doc/">
|
|
Options Indexes MultiViews FollowSymLinks
|
|
AllowOverride None
|
|
Order deny,allow
|
|
Deny from all
|
|
Allow from 127.0.0.0/255.0.0.0 ::1/128
|
|
</Directory>
|
|
|
|
<IfModule mod_fcgid.c>
|
|
# FcgidIdleTimeout 600
|
|
# FcgidBusyScanInterval 120
|
|
# FcgidProcessLifeTime 0
|
|
# #7200
|
|
# FcgidMaxProcesses 1000
|
|
# FcgidMaxProcessesPerClass 100
|
|
# FcgidMinProcessesPerClass 100
|
|
# FcgidConnectTimeout 8
|
|
# FcgidIOTimeout 60
|
|
# FcgidBusyTimeout 1200
|
|
|
|
alias /eiffelweb/ "/home/jfiat/_dev/EiffelWebReloaded/library/fcgi/tests/EIFGENs/eiffelweb/W_code/"
|
|
<Location /eiffelweb/>
|
|
AddHandler fcgid-script .ews
|
|
Options Indexes FollowSymLinks ExecCGI
|
|
# Customize the next two directives for your requirements.
|
|
Order allow,deny
|
|
Allow from all
|
|
|
|
</Location>
|
|
</IfModule>
|
|
|
|
</VirtualHost>
|