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
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| "path/filepath" | |
| "strings" | |
| "log" | |
| ) |
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 Host Config | |
| # /etc/apache2/sites-available/criexe.com.conf | |
| <VirtualHost *:80> | |
| ServerName criexe.com | |
| ServerAdmin mustafa@aydemir.im | |
| DocumentRoot /var/www/criexe.com | |
| <Directory "/var/www/criexe.com"> |
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
| # Create User | |
| CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password'; | |
| CREATE USER 'newuser'@'%' IDENTIFIED BY 'password'; | |
| # Permissions | |
| GRANT ALL PRIVILEGES ON * . * TO 'newuser'@'localhost'; | |
| GRANT ALL PRIVILEGES ON * . * TO 'newuser'@'%'; | |
| FLUSH PRIVILEGES; |
NewerOlder