Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Pegasus

Pages: [1]
1
CentOS 6 Problems / Change php.ini for specific domains.
« on: January 09, 2017, 06:45:43 PM »
Hello.
I am trying to figure out how to use unique php.ini for specific domains.

For now I have a website which placed here:

Quote
/home/domain1/public_html

Also I have a subdomain placed here

Quote
/home/domain1/public_html/subdomain/

If I add php.ini to

Code: [Select]
/home/domain1/public_html/
The system using it only for this folder but not to all subfolders.
So I fix that adding this string into my .htaccess file

Code: [Select]
suPHP_ConfigPath /home/domain1/public_html
But after that my subdomain stop working and I could see a message like this

Quote
/home/domain1/public_html/.htaccess: suPHP_ConfigPath not allowed here, referer: http://subdomain.domain1.com/

Could you explain for me how to use one php.ini to my domain1 recursively and let my subdomain work properly?..

2
E-Mail / Multiple domains and postfix configuration
« on: December 08, 2016, 03:24:55 AM »
Hello. I read manual from here:
http://forum.centos-webpanel.com/installation/(tutorial)-how-to-configure-your-server/

Could you explain for me should I made this modifications if I have multiple domains in my CWP:
Quote
Go to your webserver directory /etc/postfix/ and edit the file: main.cf
> Edit the line:
   mydestination = $myhostname, localhost.$mydomain, localhost
> To:
   mydestination = localhost.$mydomain, localhost
> Add to the end of the file:
   spamass_destination_recipient_limit = 1
   dovecot_destination_recipient_limit = 1
I am a bit confused... May be this information already got out of date and in the latest CWP version it was fixed?..
Please explain for me. I don't want to get troubles with email delivery on my domains that I want to install.

3
I am trying to compile php 5.6.14.
After finishing compilation the last line in

Code: [Select]
tail -f /var/log/php-selector-rebuild.log
is

Code: [Select]
/usr/local/src/php-build.sh: line 16: /scripts/add_alert: Permission denied

What does it mean?..

4
Installation / Spam filter and Mark as span button in Round Cube
« on: November 23, 2016, 06:24:21 AM »
I am trying to setup my Round Cube. Could you help me to setup spam folder and to add a button mark as spam?..
I couldn't find any documentation about it related to CWP.
Thank you.

5
Hello.
I am moving my VPN from one server to another.
In the new server I've made a clean CWP installation.
May I just copy my certificates from old location to the new one:

/etc/pki/tls/certs/yourdomain.tld.csr
/etc/pki/tls/private/yourdomain.tld.key
/etc/pki/tls/certs/yourdomain.tld.crt
/etc/pki/tls/certs/yourdomain.tld.bundle
a symbolic link /etc/pki/tls/certs/yourdomain.tld.cert pointing on yourdomai.tld.crt

or I have to generate and reissue my certificates again?..

Thank you.

6
Installation / CWP migration from one VPS to an other.
« on: November 21, 2016, 03:11:52 AM »
Hello.
I have a OVZ VPS and I want to migrate my CWP panel with all of the data to the KVM VPS. What is the best and fastest method to do so. I actually do now want to install everything from zero and move all of my backups. Is that the way to move everything faster?.. I actually need to copy everything from one VPS to the other.
Thank you.

7
CentOS 6 Problems / Apache & Nginx Reverse Proxy problem with cakephp
« on: October 22, 2016, 09:00:52 PM »
Hello.
I just install Nginx using CWP option Apache & Nginx Reverse Proxy.
Trying to install Mighty URL script (short url service), but somehow all of the paths to local *.css *.js files redirects to the home page. As I see Mighty URL script using cakephp library all of the css js files placed inside webroot folder. Looks like ngnix don't understand rewrite.
Part of my virtual hosts using SSL but Mightry URL shortener project working without SSL.
Please help me.

Pages: [1]