Recent Posts

Pages: 1 ... 7 8 [9] 10
82
Information / How to create a second account for the Admin Panel
« Last post by Kestryll on September 10, 2024, 02:23:53 AM »
Hi, I need to make a second account for my CWP Admin Panel that has the same permissions and abilities as the account set up for me by my hosting company on my dedicated server.

I see where I can make a new user panel account but that's more limited than I need.

Thanks!
83
Mod_Security / Re: MOD SECURITY issue on new CWP PRO INSTALLATION
« Last post by cyberspace on September 09, 2024, 01:24:29 PM »
Look at this thread:
https://forum.centos-webpanel.com/centos-9-problems/apache-wont-restart-after-enabling-mod_security/msg48744/#msg48744
it seems you have the same problem.
Hope it will help you to solve the problem.
84
Mod_Security / Re: MOD SECURITY issue on new CWP PRO INSTALLATION
« Last post by BeZazz on September 09, 2024, 12:47:49 AM »
Does anything show up in the logs under Mod Security or your Apache log files?
85
SSL / CWP SHOUTcasters Stream Ultimate Guide: How To SSL w/ReverseProxy: Summary
« Last post by SHOUTcast Guru on September 08, 2024, 08:32:25 PM »
I started into this process having centos 7 + Apache Only,

I started out by setting my new default server settings, I followed a guide to configure the APACHE-NGINX-VARNISH server because w/recent updates Apache and NGINX can run simultaneously and independently, allowing the Apache-Only server redirects to work via USER PANEL GUI under apache-nginx-varnish server configuration, you'll have to manually set each "apache-only" domain to use apache server with settings explained in the guide above.

Then I configured a reverse proxy to create an SSL stream.
**after successfully creating the reverse proxy I noticed sites were no resolving, so I went back and manually set every domain that was created under the previous "apache-only" server and set those domain to use apache as their defaut server setting. I did this for every domain one by one. Batch edit of all domains did not work for me.

I am currently looking into getting Stunnel implemented to restore the GEOMAPPING of connections for the SHOUTcast radio streams.
86
Addons / Re: Shoutcast (new) and IceCast problem
« Last post by SHOUTcast Guru on September 08, 2024, 08:14:00 PM »
Hey Zisis;

I am currently working on elevating from CENTOS7 TO ALMALINUX, But am worried something would break like in your situation.

Did you do a freshinstall from scratch of did you follow an upgrade guide like this one?

https://wiki.almalinux.org/elevate/ELevating-CentOS7-to-AlmaLinux-9.html#upgrade-centos-7-to-almalinux-8


I will be using the link above as a guide to transition into almalinux. If I come across the same break and fix it, I'll post it.
87
SSL / Re: CWP SHOUTcasters Stream Ultimate Guide: Implementing SSL
« Last post by SHOUTcast Guru on September 08, 2024, 07:15:14 PM »
POST CONFIGURATION CHANGE FROM APACHE ONLY WEBSERVER --> NGINX+VARNISH+APACHE WEBSERVER MAY BREAK WEBSITES.

 MYSTEP 6 Final Step to Resolve broken sites. how i accomplished it...

IN ADMIN PANEL

WEBSERVER SETTINGS-->WEBSERVER DOMAIN CONF--->SELECT USERNAME--->SELECT DOMAIN(S)-***((WHICH WOULD BE ALL DOMAINS SINCE THEY WERE CREATED WITH APACHE ONLY WEBSERVER)

SET FOLLOWING CONFIGURATIONS


Web server Configuration (per domain)

Please Select:
apache -> php-fpm

Apache Configuration
Apache default vhost template type:
php-fpm
Apache default vhost template:
all_methods
PHP-FPM Service Configuration
PHP-FPM version: ****8.1
Additional Options:(CHECK) REBUILD WEBSERVERS CONF FOR DOMAIN ON SAVE.


**** PHP-fpm VERSION: WAS PREVIOUS SET TO 7.4 BUT I HAD PREVIOUSLY INSTALLED 8.1 BECAUSE OF WORPRESS REQUIREMENTS. THIS SITE WORK FINE WITH VERSION 7.4 ON MY APACHE-ONLY WEBSERVER BUT NOW REQUIRES 8.1. I REBUILD WITH 8.1 AND SITES STARTED RESOLVING SO I LEFT IT AT 8.1. YOU CAN BATCH EDIT ALL OF THEM BY SELECTING ALL DOMAINS AND "CUSTOM CONFIG ALL SELECTED" WITH THE PROVIDED SETTINGS. I TRIED APPLYING THIS SETTINGS ON THE "WEBSERVERS MAIN CONF" BUT IT DID NOT TAKE, IT WOULD NOT RESOLVE UNTIL I DID A BATCH SELECT ALL VIA "WEBSERVER DOMAIN CONF".

*************END OF ADMIN PANEL**************


Congratulation you now have "**A" ssl/https secure stream

**- I say "A" ssl stream because I believe the stream is being read by the shoutcast directory server as unsecured. Will change audio encoder setting with domain we setup proxy with. --> I tried modifying the URL on the encoder but it does not stream secured into SHOUTcast directory.

AFTER THOUGHTS:

 I wish I did not have to do the subdomain bypass, Can anyone show me what needs to happens to use main domain for proxy+port and be able to have a website hosted and SSL reverse proxy on stream port to be able to use: Radiodomain.com/STREAM for audio stream and Radiodomain.com for website hosted, instead of live.radiodomain.com redirect to live.radiodomain.com/stream for audio stream and radiodomain.com for website hosting.


GEOMAP NO LONGER WORKS WITH REVERSE PROXY, WILL TRY STUNNEL FOR SSL TO SEE IF I CAN RESTORE THE GEOLOCATING FEATURE LOST WITH REVERSE PROXY. ALL CONNECTIONS SHOW TO COME FROM THE SHOUTCAST SERVER IP.  NOT SURE IF THIS THROWS OFF PROPER "AD TRIGGER INSERTS" AS IT USES GEOLOCATION FOR DISTRIBUTING LOCAL ADS.
88
MY STEP 3
Webserver setting->Webserver Main Config->

Set the following config options Then Save Changes

APACHE CONFIGURATION:

APACHE Vhost Temp Type = php-FPM
APACHE default Vhost Template= Default
APACHE default PHP-FPM Version = X.X (version # based on my WordPress site requirements)
APACHE default PHP-FPM Template = All Methods

PHP-FPM SERVICE CONFIGURATION:

PHP-FPM default template = default
Apache Force PHP-FPM = (CHECK) FORCE APACHE TO USE PHP-FPM
Additional Options: (CHECK) Rebuild All Vhosts on save

SAVE CHANGES
----------------------------------------------------------------------------------------------------------------

************** OPEN CWP USER PANEL********************
MYSTEP 4 Create a Redirect URL for subdomain created "live.RadioDomain.com" for sharing that hides port number on URL and hides your Shoutcast Server Status/Login Page because it redirects to a Simple Media Player

************** END CWP USER PANEL********************

*************OPEN CWP Admin Panel****************

MY STEP 5 -> Implement Sandeeps Domain Configuration Settings without DEFAULT SERVER CHANGE.

Webserver Settings -> WEBSERVER DOMAIN CONFIG-> SELECT USERNAME ->SELECT *****DOMAIN FOR SHOUCAST PORT STREAM (8000 DEFAULT SHOUTCAST PORT)-->CREATE OR VIEW/EDIT CONFIGURATION.


Set following:

Pleae Select: APACHE->PROXY->(CUSTOM PORT)
Apache default vhost template type: PROXY
Apache default vhost template: ALL_MEHTODS
Additional Options: (CHECK) REBUILD WEBSERVERS CONF FOR DOMAIN ON SAVE
Custom Port: 8000          (Your SHOUTcast stream port*Example is default port 8000)
IP:  127.0.0.1     (IP points to self, did not change, this was already set, was not modified by me)

SAVE CHANGES



*****((((someone correct me if wrong but choosing this domain seems to bind the domain/subdomain to SHOUTcast PORT #))))
*****When I choose radio station main domain for MYSTEP 4, the proxy setting redirects to Shoutcast Service URL, the "shoutcast stream status" page. Seem it will bypass any redirects settings and any WEBPAGE won't show. So use a Dedicated domain/subdomain, I decided to(MYSTEP4) create a subdomain before implementing MYSTEP 5. I created a subdomain "LIVE"  example: Live.RadioDomain.com


*************End CWP Admin Panel****************



************** OPEN CWP USER PANEL********************
APACHE REDIRECT VIA USER PANEL WORKS WITH 2018 UPDATE ON NGINX + VARNISH + APACHE

DOMAINS->REDIRECT->ADD NEW REDIRECT

TYPE: TEMPORARY 302
HTTPS:// WWW.?: LIVE.RADIODOMAIN.COM
Path: Default folder for "LIVE.RADIODOMAIN.COM" subdomain
REDIRECTS TO: https://live.radiodomain.com/stream      (add "/stream" to subdomain url to show a player without exposing shoutcast stream status/login page)

****************END CWP USER PANEL************************************

89
CENTOS7 + APACHE ONLY <-- ENVIRONMENT I STARTED WITH


THIS IS MY NOTES ON A GUIDE I CREATED TO  IMPLEMENT SSL VIA A REVERSE PROXY. I WOULD ALSO SAY THAT I WOULD CONSIDER THIS ONLY A TEMPORARY SOLUTION TO GETTING A SSL STREAM.

THE RESULT IS THAT REVERSE PROXY MESSES UP YOUR GEODATA FOR TRACKING ACCESS TO YOUR STREAM, GEOMAPPING. On my GEOMAP, all connections are showing to come from my server IP and city. in the shoutcast admin URL, it shows you two IPS, My server IP as a main IP and a second IP in parentheses which is the one connecting to my shoutcast server, but defaults to show my server IP as main IP, thus showing my server IP and City for all incoming connections into my stream, before reverser proxy i would be able to identify IPs and their international cities for all incoming connections to my stream. I am unable to properly get the correct GEOdata of incoming connections. I believe this will also throw off properly distributing "ad inserts" that catered to local markets based on this geodata.  I WILL BE SEEKING ANOTHER SSL SOLUTION BUT THIS WOULD BE SOMETHING "EASY" TO GET GOING. I WILL SERIOUSLY TAKE A LOOK AT STUNNEL FOR SSL STREAM. IF ANYONE HAS A STUNNEL WALKTHROUGH PLEASE SHARE.   
________________________________________________________________________________________
So I decided to implement Sandeeps walkthrough with nginx + apache + Proxy Port

I read somewhere that after a 2018 update, APACHE redirects would work with the nginx+apache server configuration.

( i repeated these steps a couple of times, so I'm not sure

I read


after changing the default web servers from APACHE ONLY to NGINX + APACHE, my sites and redirects were not resolving. Research led to the following code implementation.

Fafache posted the following line code regarding 503 Service Unavailable Issue after changing server,  So I decided to implement some of the following line code.

Quote
https://forum.centos-webpanel.com/php-selector/php-fpm-not-working-(503-service-unavailable)/msg33268/#msg33268
Fafache:
hello

I have the same problem

when I config apache<-varnish<-nginx with php-fpm the website go down (with php-cgi it's ok)

finaly I try two things and now it's working (but I don't know why)

1) in "user accounts -> fix permissions" for user nobody, I fix permissions from 644 to 755 php files (maybe it's not that)

2) I think it's that, after compil all php-fpm in "php setting -> php selector 2" and also "php setting -> php-fpm selector" I compil the php x.x.x
and go back to "webserver setting -> select webserver" check about the good php-fpm for apache and nginx (select the version on down) and select "only apache

click on save & rebuild, check if your website go back, if ok, use a terminal with a "top" command and go back to click on your website to make the user working, here you can see if the user use php-cgi or php-fpm

let's go back to nginx->varnish->apache->php-fpm (check again with "top" command and clicks on your website, if it's all right) you have the best config

if that help you, a thank is good, if you find something else or the "why", say it here


hope that help you
-------------------------------------------------------------------------------------

I couldn't understand his instructions completely but here are MY STEPS not sure if all are required because I'm no Linux guru and don't know any better but.... I hope all my steps are complete to my recollection, started working without taking notes of all stops but they should be as follows.


****replicating all actions starting with the configuration of Setup Default Web Servers From APACHE-NGINX --TO-> Apache-Varnish-Nginx (I believe I selected a default PHP-FPM version for APACHE and NGINX) & (check Force Apache to Use PHP FPM selector)

***************************START CWP ADMIN PANEL*********************

MY STEP 1 - Webserver settings -> Select Webservers -> Set Nginx-Varnish-Apache; Set default APACHE php-fpm Version 8.1 -> Set default Apache/Nginx version 7.4 -> (CheckYES) FORCE Apache to Use PHP-FPM Selector.

SAVE AND REBUILD CONFIGURATION
---------------------------------------------------------------------
MY STEP 2 FOLLOWS FAFECHE GUIDE

user accounts -> fix permissions" for user nobody, fix permissions (checkYES) from 644 to 755 php files
,
then Fafache Step 2, I waited for each to compile one at at time; wait for PHP-SELECTOR-2 and PHP-FPM to finish by viewing status/log, Once those were finished.

---Finished with Fafache Line Code Fix for sites not resolving post default server change from APACHE SERVER TO APACHE-NGINX-VARNISH SERVER---
----------------------------------------------------------------------------------------------------------------------------
90
Mod_Security / MOD SECURITY issue on new CWP PRO INSTALLATION
« Last post by zeejdeej on September 08, 2024, 05:49:43 PM »
hello,

i have recently installed CWP pro on a new Almalinux 9,everything is working fine but when i install MOD Security all the websites goes down and give below error: when i uninstall MOD Security all sites start working fine. what could be wrong ? and how to fix it any suggestions plz

Unable to connect

An error occurred during a connection to 38.242.244.140.

The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer’s network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the web.

Pages: 1 ... 7 8 [9] 10