Advertisement
mosaid

1111

Oct 21st, 2018
327
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.69 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