While Add Subdomain/domain(while Cpanel Edit The Httpd.conf)
Jul 22, 2007
When cpanel edit the httpd.conf(to add subdomain/domain/etc) made a wrong.
In the lines
BytesLog /usr/local/apache/domlogs/domainorsubdomainname.com-bytes_log
CustomLog /usr/local/apache/domlogs/domainorsubdomainname.com combined
it breaks them as follows
--
BytesLog /usr/local/apache/domlogs/domainorsubdomainname.com
-bytes_log
CustomLog /usr/local/apache/domlogs/domainorsubdomainname.com
combined
I am running into a problem with my home linux server running Fedora 8 (2.6.26.6-49.fc8). The problem is with my SSH sessions, in that they hang or freeze when I try to run certain commands such as (ps -auxt or top) or when trying to edit (/etc/httpd/conf/httpd.conf) via VI or Pico. I am able to edit my pure-ftpd.conf file with little to no trouble through either Vi or Pico however. I did some research already on openssh.org but my problem does not resemble the tcp timeout issues I've seen described. When the SSH session hangs I'm forced to disconnect and then reconnect. Just curious if anyone has any ideas as to what I can try to resolve this problem.
I tried that recently to install PHP 4 & PHP 5 on the same server - without any luck, i stumbled into a massive hole.
the existing httpd.conf was replaced and there was a backup made - stupid me accidently deleted this backup file and was left this a non-working copy of httpd.conf - if anyone can help me it would be much appreciated.
root@server1 [~]# /etc/init.d/httpd configtest Warning: DocumentRoot [/dev/null] does not exist Syntax OK
I recently updated to apache 2.2 and when I went to check
/usr/local/apache/conf/httpd.conf
I noticed that a lot of the stuff was missing from what I usually see in apache 1.3 Was a new file created when the update was finish? I used easyapache to make the update.
how should I optimize httpd.conf on my server. Apache was set up by my friend, unfortunately it started to "stuck" lately during peak time. Browser is connecting to a website for a long time before it actually starts to load it.
I remember seeing a website/forum where you couldn't post your server stats and httpd.conf settings and experts would give advice on settings you should use.
Does anyone know the url to this site, or site similar to it
I am using a VPS provided by webkeeprs, and actually my site got quite amount of traffic everyday, sometime when it at peak, by then website won't load, and got blank page.
Check with the resourses used, I only got 256mb in ram, and it always show "RED" and which had consumed 240mb on ram already at peak time.
Here is my setting of my httpd.conf file, I am looking for some expert who may give me a hand on this setting:
Include conf.d/*.conf ExtendedStatus Off User apache Group apache #ServerAdmin email@msn.com #ServerName UseCanonicalName Off DocumentRoot "/var/www/html"
<Directory /> Options FollowSymLinks AllowOverride All </Directory>
<Directory "/var/www/html"> Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory>
I'd like to keep an IP blacklist, and have Apache enforce it. Because I want it to apply server-wide, I want to use it in httpd.conf, not .htaccess.
Rather than constantly editing httpd.conf by hand, I'd like to keep a file of IPs, and have Apache read that file and use it as the argument for a "deny from..." directive. Try as I might, I cannot find any documentation, nor any examples, of this usage. Is this something that's possible?
(It turns out that Apache doesn't honor /etc/hosts.deny, hence this question.)
is it possible to set the disabled functions list for PHP in apache's HTTPD.conf per virtual host? i want a bunch of functions disabled for everyone except the default host (me).
I tried the php_admin_value way and when i look at phpinfo() it shows that the master is disabled and the local is not disabled (exactly what i want) but they arnt actually enabled for me
I have a linux vps with 384mb dedicated and 1GB burst RAM. I am using it to host phproxy web proxy sites. Can you please recommend good values for the following Apache/1.3.37 httpd.conf settings?
I am having a problem on my VPS. I am running the latest version of Apache on Windows Server 2K3, and after editing httpd.conf to allow virtual hosts (#Include /conf/extra/httpd-vhosts.conf) and trying to restart the service, an error appears saying the operation failed.
I have even tried restarting/starting the service via services.msc
If I am not using the default httpd.conf Apache will not restart at all... it is very strange. I have also tried doing a repair of the installation of Apache.
My Dedicated server is being slow - hopefully someone can give a helping hand
Processor: AMD Single CPU Dual Core Athlon 4200 Memory: 2048MB RAM Primary Hard Drive: 160GB Operating System : CentOS 4.x X86_64 Bit Control Panel: CPanel uplink port: 100
So why does it still say Connection: Keep-Alive? I know that if its off, it should say Connection: Closed. And where did the timeout=1 and max=100 come from?
My httpd.conf Timeout 90 KeepAlive Off KeepAliveTimeout 15 KeepAliveRequests 10
HTTP headers is reporting Keep-Alive: timeout=1, max=100 Connection: Keep-Alive
I need to change the server configuration on Plesk such that the SuexecUserGroup directive is removed, so the user's cgi scripts run as the apache user (www-data), rather than as the user specified in that directive (the domain user), as on an unshared (non-VPS) server. I don't care about security from other domains because only one domain runs on it anyway, so making the user domain-specific is irrelevant from a security point of view and stops some of the user's code working.
This directive is found in /var/www/vhosts/domainname.com/conf/httpd.include and is: SuexecUserGroup user psacln (this line appears twice, for ports 443 and 80)
I understand that this file can't be modified, as it may be overwritten by Plesk. Therefore additional directives must go in the vhost.conf file.
Will the following vhost.conf file do the trick and override the directives in httpd.include?