Last active
September 6, 2023 09:30
-
-
Save akrez/efe630d37ec5fe2e74df91266b74811f to your computer and use it in GitHub Desktop.
define virtual host in wamp as fastcgi and nonefastcgi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| 127.0.0.1 localhost | |
| ::1 localhost | |
| 127.0.0.255 lavash | |
| ::1 lavash | |
| 127.0.0.254 lavashnonecgi | |
| ::1 lavashnonecgi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Virtual Hosts | |
| # | |
| <VirtualHost *:80> | |
| ServerName localhost | |
| ServerAlias localhost | |
| DocumentRoot "${INSTALL_DIR}/www" | |
| <Directory "${INSTALL_DIR}/www/"> | |
| Options +Indexes +Includes +FollowSymLinks +MultiViews | |
| AllowOverride All | |
| Require local | |
| </Directory> | |
| </VirtualHost> | |
| # | |
| <VirtualHost 127.0.0.255:80> | |
| ServerName lavash | |
| DocumentRoot "${INSTALL_DIR}/www/lavash" | |
| <Directory "${INSTALL_DIR}/www/lavash/"> | |
| Options +Indexes +Includes +FollowSymLinks +MultiViews | |
| AllowOverride All | |
| Require local | |
| </Directory> | |
| <IfModule fcgid_module> | |
| Define FCGIPHPVERSION "7.3.33" | |
| FcgidInitialEnv PHPRC ${PHPROOT}${FCGIPHPVERSION} | |
| <Files ~ "\.php$"> | |
| Options +Indexes +Includes +FollowSymLinks +MultiViews +ExecCGI | |
| AddHandler fcgid-script .php | |
| FcgidWrapper "${PHPROOT}${FCGIPHPVERSION}/php-cgi.exe" .php | |
| </Files> | |
| </IfModule> | |
| </VirtualHost> | |
| # | |
| <VirtualHost 127.0.0.254:80> | |
| ServerName lavashnonecgi | |
| DocumentRoot "${INSTALL_DIR}/www/lavashnonecgi" | |
| <Directory "${INSTALL_DIR}/www/lavashnonecgi/"> | |
| Options +Indexes +Includes +FollowSymLinks +MultiViews | |
| AllowOverride All | |
| Require local | |
| </Directory> | |
| </VirtualHost> | |
| # |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment