Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- % nocomment sites-enabled/000-default.conf
- <VirtualHost *:80>
- ServerAdmin webmaster@localhost
- DocumentRoot /var/www
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- Include conf-available/serve-cgi-bin.conf
- </VirtualHost>
- # uncomment line tu ^
- % nocomment conf-enabled/serve-cgi-bin.conf
- <IfModule mod_alias.c>
- <IfModule mod_cgi.c>
- Define ENABLE_USR_LIB_CGI_BIN
- </IfModule>
- <IfModule mod_cgid.c>
- Define ENABLE_USR_LIB_CGI_BIN
- </IfModule>
- <IfModule mod_fastcgi.c>
- Define ENABLE_USR_LIB_CGI_BIN
- </IfModule>
- <IfDefine ENABLE_USR_LIB_CGI_BIN>
- ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
- <Directory "/usr/lib/cgi-bin">
- AllowOverride None
- Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
- Require all granted
- </Directory>
- </IfDefine>
- </IfModule>
- # add lines tu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement