Advertisement
vitareinforce

httpd.conf

Dec 30th, 2024
11
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. # Load necessary modules
  2. LoadModule mime_module modules/mod_mime.so
  3. LoadModule dir_module modules/mod_dir.so
  4. LoadModule alias_module modules/mod_alias.so
  5. LoadModule php7_module "C:/php-7.4.33/php7apache2_4.dll"
  6. LoadModule authz_core_module modules/mod_authz_core.so
  7. LoadModule authz_host_module modules/mod_authz_host.so
  8. LoadModule rewrite_module modules/mod_rewrite.so
  9.  
  10. # PHP configuration
  11. AddType application/x-httpd-php .php
  12. PHPIniDir "C:/php-7.4.33"
  13.  
  14. # Listen on port 81
  15. Listen 81
  16.  
  17. ServerName localhost
  18.  
  19. # Virtual host for localhost or IP address
  20. <VirtualHost *:81>
  21. ServerName superplastin.system
  22. DocumentRoot "D:/Agronum/docker/suplas/absensi-web-superplastin/public/"
  23.  
  24. <Directory "D:/Agronum/docker/suplas/absensi-web-superplastin/public/">
  25. Options Indexes FollowSymLinks
  26. AllowOverride All
  27. Require all granted
  28. DirectoryIndex index.php index.html
  29. </Directory>
  30.  
  31. ErrorLog "logs/superplastin-error.log"
  32. </VirtualHost>
  33.  
  34. # Virtual host for superplastin-mirror.dev
  35. <VirtualHost *:81>
  36. ServerName superplastin.mirror
  37. DocumentRoot "D:/Agronum/docker/suplas/absensi-web-superplastin-mirror/public/"
  38.  
  39. <Directory "D:/Agronum/docker/suplas/absensi-web-superplastin-mirror/public/">
  40. Options Indexes FollowSymLinks
  41. AllowOverride All
  42. Require all granted
  43. DirectoryIndex index.php index.html
  44. </Directory>
  45.  
  46. ErrorLog "logs/superplastin-mirror-error.log"
  47. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement