Skip to content

Instantly share code, notes, and snippets.

View aliqasemzadeh's full-sized avatar
💪
Focusing

Ali Qasemzadeh aliqasemzadeh

💪
Focusing
View GitHub Profile

Keybase proof

I hereby claim:

  • I am alighasemzadeh on github.
  • I am alighasemzadeh (https://keybase.io/alighasemzadeh) on keybase.
  • I have a public key ASCDivb0KNC0mXVmrvMfJfdQQENf6DKyWIBmcoODxHMsSAo

To claim this, I am signing this object:

@aliqasemzadeh
aliqasemzadeh / VHOST
Created June 25, 2021 04:50
Virtual Host For Xampp (None-SSL, SSL)
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs/project_name/public"
ServerName project_name.local
<Directory "C:/xampp/htdocs/project_name/public">
</Directory>
</VirtualHost>
<VirtualHost *:443>
DocumentRoot "C:/xampp/htdocs/project_name/public"
@aliqasemzadeh
aliqasemzadeh / SSL_FOR_CPANEL_LARAVEL_WEBSOCKET
Last active April 19, 2021 05:33
How to setup SSL on laravel-websockets cPanel
You can easilly setup SSL for laravel-websockets.
Note: You need to access root user to run supervior for websocket.
1-Login into cPanel
2-SSL/TLS
3-Manage SSL Hosts
4-Install an SSL Website
5-Select domain and SSL
6-Autofill by Domain
7-Certificate: (CRT) file is PEM (local_cert) and Private Key (KEY) is key (local_pk).
@aliqasemzadeh
aliqasemzadeh / public_html_to_public
Last active April 16, 2023 17:14
How to change public_html to public in cPanel
You need to access to main file of cPanel.
1-Find folder for user that want to change folder in:
/var/cpanel/userdata/:username
2-You see files by the following list:
cache
cache.json
main
main.cache