skip to Main Content

pm2 via apache server

I want to control my pm2 app via apache server. I have tried it via a bash script and php. Here is my index.php: <html> <head> <meta c </head> <?php if (isset($_POST['RightOPEN'])) { exec("/home/pi/startmm.sh"); } if (isset($_POST['LeftOPEN'])) { exec("/home/pi/channel4.sh"); }…

VIEW QUESTION

Redirection using htaccess file? – Apache

I have a website and I need the following redirections : www.example.com > example.com http requests redirected to https I wrote the following rules : #Redirect http://example.com to https://example.com RewriteEngine on RewriteCond %{HTTP_HOST} ^example.com RewriteRule ^(.*)$ https://example.com$1 [R=permanent,L] #Redirect www…

VIEW QUESTION

Apache Web Server Stopped

I recently installed Xampp on Fedora 31, Everything is okay, except... Apache web server is not working, when I push "start all", it activates Mysql, and ProFTPD, but Apache Web server appears "Stopped". I've have tried to change port from…

VIEW QUESTION

Install OpenLiteSpeed on DirectAdmin – Apache

Currently i have DirectAdmin installed on Apache. I want to install OpenLiteSpeed with CustomBuild 2.0 by DirectAdmin. ./build update ./build set webserver openlitespeed ./build set mod_ruid2 no ./build set php1_mode lsphp ./build openlitespeed ./build php n ./build rewrite_confs If i…

VIEW QUESTION
Back To Top
Search