Advertisement
mosaid

Untitled

Oct 20th, 2018
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. # /etc/httpd/conf/extra/phpmyadmin.conf
  2.  
  3. <VirtualHost pma.localhost:80>
  4. ServerAdmin phpmyadmin@apache.com
  5. DocumentRoot "/usr/share/webapps/phpMyAdmin"
  6. ServerName pma.localhost
  7. ServerAlias pma.localhost
  8. ErrorLog "/var/log/httpd/pma.localhost-error_log"
  9.  
  10. <Directory "/usr/share/webapps/phpMyAdmin">
  11. DirectoryIndex index.html index.php
  12. AllowOverride All
  13. Options FollowSymlinks
  14. Require all granted
  15. </Directory>
  16. </VirtualHost>
  17.  
  18. Alias /phpmyadmin "/usr/share/webapps/phpMyAdmin"
  19. <Directory "/usr/share/webapps/phpMyAdmin">
  20. DirectoryIndex index.php
  21. AllowOverride All
  22. Options FollowSymlinks
  23. Require all granted
  24. </Directory>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement