While Add Subdomain/domain(while Cpanel Edit The Httpd.conf)
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
And httpd cannot start and failed.
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
SSH Session Hangs When Trying To Edit Httpd.conf
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.
View Replies!
View Related
Subdomain In Httpd.conf Not Working Properly
Added this in the httpd.conf but it is still pointing to the main domain xxxx.com -------------- <VirtualHost *:80> DocumentRoot /xxx/xxx/webmail ServerName webmail.xxxxx.com </VirtualHost> ----------------- whenever i type webmail.xxxxx.com, it will see the content of xxxxx.com.
View Replies!
View Related
Add-on Domain And Subdomain
Let's say my domain, for which I have shared hosting, is www.mydomain.com I have also registered the domain www.yourdomain.com My hosting has cPanel I add www.yourdomain.com as an add-on domain. Inside my root folder the folder /public_html/yourdomain/ is created. When I create the subdomain subdomain.yourdomain.com, the folder /public_html/subdomain/ is created instead of /public_html/yourdomain/subdomain/ Can I assign the /public_html/yourdomain/subdomain/ folder to be the root of subdomain.yourdomain.com? e.g. I have the file image.jpg at /public_html/yourdomain/subdomain/image.jpg and it's accessed from subdomain.yourdomain.com/image.jpg Is this possible? Having a lot of folders directly under /public_html/ would get annoying for me.
View Replies!
View Related
CPanel Domain Add-on
I found that the domain name add-on I had before in my cPanel account is missing, so I tried to add-on a domain name back, it says: Error from domain wrapper: Domain already exists, it was not added.: the.domainaddon.com The question is how do I clear them all off related to this domain? I tried to edit /etc/userdomains, /etc/trueuserdomains and found nothing httpd.conf only shows the subdomain and nothing else. I editted /var/cpanel/users/{username} and remove the last line XDNS1=domainaddon.com
View Replies!
View Related
403 Forbidden On Add-on Domain Cpanel
I get this on an add-on domain (cpanel) You don't have permission to access / on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. I confirmed permissions are right and htaccess nor index.html are the cause (I renamed them with .bak and tried fresh empty ones, still got 403) root@server4 [/home/user/public_html/tommillican]# ls -lh total 856K drwxr-x--- 10 user nobody 4.0K Oct 17 09:04 ./ drwxr-x--- 20 user nobody 20K Oct 16 19:42 ../ ....
View Replies!
View Related
Dedicated - How To Add Ips And Domain On Cpanel
I just got setup with a dedicated server last night.. my first time .. im used to cpanel/whm on reseller accounts so paying for a dedicated is new to me.. 1. I was given 3 ip address, galaxy, subnet and usable ip, what is the difference and under what circumstances do you use them and what one do you use? 2. I was told to setup my ips in my root, i am in there, do i just add them under IP FUNCTIONS one at time? 3. I need my DNS settings for namecheap to direct my domain over to the server, so i was told to setup my domain in cpanel in the root first and that will generate my dns address, can anyone explain the steps involved in that, what to click on? thanks
View Replies!
View Related
Httpd.conf
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
View Replies!
View Related
Apache 2.2 And Httpd.conf
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. I was actually looking to change the Keepalive Timeout MinSpareServers MaxSpareServers MaxRequestsPerChild Etc... But it doesn't look like it's in there.
View Replies!
View Related
Apache 2 - Httpd.conf
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. My current setup: Timeout 300 KeepAlive On MaxKeepAliveRequests 300 KeepAliveTimeout 15 MinSpareServers 2 MaxSpareServers 5 StartServers 5 ServerLimit 650 MaxClients 650 Server: Intel Quad-Core Xeon X3220 @ 2.40 GHZ 4x 2GiB Kingston ECC Not-Registred 667Mhz 2x 150GiB RaptorX 10k RPM, sw raid 1
View Replies!
View Related
Optimizing Httpd.conf...
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
View Replies!
View Related
Set Value For Httpd.conf
I have a box: Dual Opteron 248 - 2GB RAM, Centos 4.x, Cpanel / WHM, does anyone can help me set value in httpd.conf for better? Set "Timeout" Set "KeepAlive" Set "KeepAliveTimeout" Set "MinSpareServers" Set "MaxSpareServers" Set "MaxRequestsPerChild" Set "HostnameLookups" I've got many emails from cpanel that httpd fail, check in apache logs i cant find any error
View Replies!
View Related
Optimize Httpd.conf
I am running Plesk 8 Server, RH Linux EL4 3.0GHz 1GB Ram. My httpd.conf setting is as below: <IfModule prefork.c> StartServers 8 MinSpareServers 5 MaxSpareServers 20 ServerLimit 256 MaxClients 150 MaxRequestsPerChild 1000 </IfModule> best optimized values for my server. My server oftenly goes down due to large number of http processes.
View Replies!
View Related
Apache Httpd.conf
tuning apache configurations, and would like to seek for some opinions on how I should optimize my httpd.conf The server is primarily for downloads, serving file sizes that are around 100~200MB. how I should configure my apache so it'll allow a better/faster/more stable environment? Hardware Specs: Intel Xeon 3220 Quad-Core (2.4Ghz) 2GB Ram My current httpd.conf ServerTokens None ServerRoot "/etc/httpd" PidFile run/httpd.pid Timeout 20 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 ## ## Server-Pool Size Regulation (MPM specific) ## # prefork MPM <IfModule prefork.c> StartServers 8 MinSpareServers 5 MaxSpareServers 20 ServerLimit 256 MaxClients 256 MaxRequestsPerChild 4000 </IfModule> # worker MPM <IfModule worker.c> StartServers 4 MaxClients 500 MinSpareThreads 25 MaxSpareThreads 100 ThreadsPerChild 25 MaxRequestsPerChild 0 </IfModule>
View Replies!
View Related
Httpd.conf For A Forum
if these settings are decent for a busy forum, if not what should be changed? Timeout 25 KeepAlive On MaxKeepAliveRequests 40 KeepAliveTimeout 10 MinSpareServers 8 MaxSpareServers 20 StartServers 12 MaxClients 150 MaxRequestsPerChild 140 I have around 50-100 members/guests online at a time, with at least 20 robots(Search engine bots) online.
View Replies!
View Related
Httpd.conf To Set My Virtualhosts
I always used httpd.conf to set my virtualhosts and it worked perfect. Untill now. All domains I point to my IP get's pointed to first virtual host folder. And it doesnt care about other settings. My config: Code: <VirtualHost *> ServerSignature Off ServerAlias omgwtf.com ServerAdmin rytis@s.lt DocumentRoot /var/www ServerName blahblah.com Options -Indexes </VirtualHost> <VirtualHost *> ServerSignature Off ServerAlias blahblah.com ServerAdmin rytis@z.lt DocumentRoot /var/www/epo ServerName blahblah.com Options -Indexes </VirtualHost> And it doesnt care about that I set xyz.com to /var/www/epo, it just loads /var/epo. I have restarted apache.
View Replies!
View Related
Httpd.conf + IP-based Blacklist
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.)
View Replies!
View Related
Modifying Httpd.conf Indirectly
Given that I am using cpanel, is there a way to modify httpd.conf so I can enable mod proxy without having to do it directly? This is what I am instructed to do. Quote: Have you checked you have mod_proxy enabled? To enable mod_proxy uncomment it's LoadModule line in the httpd.conf file. You may have to ask your host.
View Replies!
View Related
Recommend Httpd.conf Values
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? Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 2 MinSpareServers 32 MaxSpareServers 64 StartServers 8 MaxClients 256 MaxRequestsPerChild 500
View Replies!
View Related
Need The Best Setting (httpd.conf And My.cnf )
Processor InformationProcessor #1 Vendor: GenuineIntelProcessor #1 Name: Intel(R) Xeon(R) CPU L5335 @ 2.00GHzProcessor #1 speed: 2000.219 MHzProcessor #1 cache size: 4096 KBProcessor #2 Vendor: GenuineIntelProcessor #2 Name: Intel(R) Xeon(R) CPU L5335 @ 2.00GHzProcessor #2 speed: 2000.219 MHzProcessor #2 cache size: 4096 KBProcessor #3 Vendor: GenuineIntelProcessor #3 Name: Intel(R) Xeon(R) CPU L5335 @ 2.00GHzProcessor #3 speed: 2000.219 MHzProcessor #3 cache size: 4096 KBProcessor #4 Vendor: GenuineIntelProcessor #4 Name: Intel(R) Xeon(R) CPU L5335 @ 2.00GHzProcessor #4 speed: 2000.219 MHzProcessor #4 cache size: 4096 KBProcessor #5 Vendor: GenuineIntelProcessor #5 Name: Intel(R) Xeon(R) CPU L5335 @ 2.00GHzProcessor #5 speed: 2000.219 MHzProcessor #5 cache size: 4096 KBProcessor #6 Vendor: GenuineIntelProcessor #6 Name: Intel(R) Xeon(R) CPU L5335 @ 2.00GHzProcessor #6 speed: 2000.219 MHzProcessor #6 cache size: 4096 KBProcessor #7 Vendor: GenuineIntelProcessor #7 Name: Intel(R) Xeon(R) CPU L5335 @ 2.00GHzProcessor #7 speed: 2000.219 MHzProcessor #7 cache size: 4096 KBProcessor #8 Vendor: GenuineIntelProcessor #8 Name: Intel(R) Xeon(R) CPU L5335 @ 2.00GHzProcessor #8 speed: 2000.219 MHzProcessor #8 cache size: 4096 KB 4GB RAM 150G Disk
View Replies!
View Related
Creating Same Subdomain Name/directory On Add-on
I have a problem here. I have 2 domain on 1 account, which one is called domainA.com & domainB.com is an add-on. I created 2 same subdomain name which are assigned to same subfolder! subdomain.domainA.com (/public_html/subdomain) subdomain.domainB.com (/public_html/subdomain) The question is: How do i change domainB subdomain folder to something else? (eg. /public_html/domainb/subdomain)
View Replies!
View Related
Httpd.conf Help On A 256mb VPS By Webkeepers
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: ============================================================= ServerTokens ProductOnly ServerRoot "/etc/httpd" PidFile run/httpd.pid Timeout 180 KeepAlive On MaxKeepAliveRequests 88 KeepAliveTimeout 3 <IfModule prefork.c> StartServers 15 MinSpareServers 10 MaxSpareServers 20 ServerLimit 100 MaxClients 90 MaxRequestsPerChild 30 </IfModule> #<IfModule worker.c> #StartServers 1 #MaxClients 10 #MinSpareThreads 1 #MaxSpareThreads 5 #ThreadsPerChild 1 #MaxRequestsPerChild 0 #</IfModule> Listen 80 LoadModule auth_basic_module modules/mod_auth_basic.so LoadModule auth_digest_module modules/mod_auth_digest.so LoadModule authn_file_module modules/mod_authn_file.so LoadModule authn_alias_module modules/mod_authn_alias.so LoadModule authn_anon_module modules/mod_authn_anon.so LoadModule authn_dbm_module modules/mod_authn_dbm.so LoadModule authn_default_module modules/mod_authn_default.so LoadModule authz_host_module modules/mod_authz_host.so LoadModule authz_user_module modules/mod_authz_user.so LoadModule authz_owner_module modules/mod_authz_owner.so LoadModule authz_groupfile_module modules/mod_authz_groupfile.so LoadModule authz_dbm_module modules/mod_authz_dbm.so LoadModule authz_default_module modules/mod_authz_default.so LoadModule ldap_module modules/mod_ldap.so LoadModule authnz_ldap_module modules/mod_authnz_ldap.so LoadModule include_module modules/mod_include.so LoadModule log_config_module modules/mod_log_config.so LoadModule logio_module modules/mod_logio.so LoadModule env_module modules/mod_env.so LoadModule ext_filter_module modules/mod_ext_filter.so LoadModule mime_magic_module modules/mod_mime_magic.so LoadModule expires_module modules/mod_expires.so LoadModule deflate_module modules/mod_deflate.so LoadModule headers_module modules/mod_headers.so LoadModule usertrack_module modules/mod_usertrack.so LoadModule setenvif_module modules/mod_setenvif.so LoadModule mime_module modules/mod_mime.so LoadModule dav_module modules/mod_dav.so LoadModule status_module modules/mod_status.so LoadModule autoindex_module modules/mod_autoindex.so LoadModule info_module modules/mod_info.so LoadModule dav_fs_module modules/mod_dav_fs.so LoadModule vhost_alias_module modules/mod_vhost_alias.so LoadModule negotiation_module modules/mod_negotiation.so LoadModule dir_module modules/mod_dir.so LoadModule actions_module modules/mod_actions.so LoadModule speling_module modules/mod_speling.so LoadModule userdir_module modules/mod_userdir.so LoadModule alias_module modules/mod_alias.so LoadModule rewrite_module modules/mod_rewrite.so LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_balancer_module modules/mod_proxy_balancer.so LoadModule proxy_ftp_module modules/mod_proxy_ftp.so LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule proxy_connect_module modules/mod_proxy_connect.so LoadModule cache_module modules/mod_cache.so LoadModule suexec_module modules/mod_suexec.so LoadModule disk_cache_module modules/mod_disk_cache.so LoadModule file_cache_module modules/mod_file_cache.so LoadModule mem_cache_module modules/mod_mem_cache.so LoadModule cgi_module modules/mod_cgi.so LoadModule version_module modules/mod_version.so 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> <IfModule mod_userdir.c> UserDir disable </IfModule> DirectoryIndex index.html index.html.var index.shtml index.cfm index.php index.htm AccessFileName .htaccess
View Replies!
View Related
Apache Does Not Restart After Editing Httpd.conf
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.
View Replies!
View Related
PHP Disabled Functions (HTTPD.conf)
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
View Replies!
View Related
Using Vhost.conf To Override Suexec Directive In Httpd.include
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? <VirtualHost domainIP:443> SuexecUserGroup www-data www-data </VirtualHost> <VirtualHost domainIP:80> SuexecUserGroup www-data www-data </VirtualHost>
View Replies!
View Related
How To Edit FTP User Permissions On A CPanel Account
My Pink Floyd website has a photo section of rare concert pictures that our members upload. We have about 3,000 of these pictures, that our members upload via an FTP server that is hosted on a simple cPanel web hosting account. Someone logged into the account and not only deleted all the pictures, but uploaded obscene pictures and index.html files to some really nasty stuff. We delete all the obscene stuff, but before we re-upload all the pictures I need to know... On a cPanel account is there a way to have the FTP User only able to upload files and not edit/delete/change? Somehow we can edit their permission? I asked HostGator about this and the ChatTech said this cannot be done, and I was a bit surprised. I could easily do this on my own server, but i'm not sure where to start at the user level.
View Replies!
View Related
Run Php4 For .php4 Files And Php5 For .php [httpd.conf]
First off my error: apache force downloads .php4 files Background: Im attempting to run php4 and php5 at the same time. I had php 5 installed with the server when I got it. I have installed php 4 from the source like this: Code: ./configure --with-apxs=/usr/local/apache/bin/apxs --prefix=/PHP4 --without-mysql I then copied the php.ini file to /PHP4/php.ini In my httpd.conf Im loading and adding both php 4/5 modules like so: Code: LoadModule php4_module libexec/libphp4.so LoadModule php5_module libexec/libphp5.so AddModule mod_php4.c AddModule mod_php5.c Then later in the httpd.conf Im trying to tell apache to handle .php4 files with PHP 4 and .php with PHP5 Code: AddType application/x-httpd-php .php AddType application/x-httpd-php4 .php4 I restarted apache to load the new conf. .php files still use PHP5, but for some reason .php4 files are being downloaded, not running with PHP 4. If I use htaccess to application/x-httpd-php4 php, .php files also force download. What am I missing?
View Replies!
View Related
Cannot Add Domain
everytime I try to add a subdomain it says "Error from park wrapper: domainname.com is already configured." I already check the 4 option in the domain category.. (Subdomains,Addon domains, Park domains and Redirects) the domain i was adding is not there...
View Replies!
View Related
An Add-on Domain
I've this site: serverq.ws as an add-on domain with bluemeel.com Now go to serverq.ws and click on any link there, you would find that the URL has switched to be bluemeel.com/serverq/,
View Replies!
View Related
Add On Domain(s)
I think my question is probably really obvious, but in all the years of my hobby I've never known how to do this. Add-on Domains. Quote: Originally Posted by My host An add-on domain makes it possible for you to have an additional website (with email) on just one account. I own domains each with a different host account, and to save some money and simplify things I'd like to move to Add-Ons domains with 1 account. All of these sites are low traffic and so load is not a concern. However I really have no idea how to do this. I'd really like to preserve each domains name in the url. Just what do I do make this happen?
View Replies!
View Related
Add On Domain
I've enabled add on domains for one of my server accounts and set up the add on domain addondomain1.com using CPanel. After setting it up the main URL works fine. However, any URL that ends with a directory path but no file name constantly redirects to a URL that's on the subdomain of the main account, not the add on domain... This problem doesn't happen if the URL path ends with a file name like file.php Would there be a server configuration error causing this?
View Replies!
View Related
Migrating A Add-on Domain
Basically I have one website hosted (add-on domain) on a shared server. Now this domain has to moved to another server on its own. I have no doubt backing up the database from the current server and restoring it but is there an easy way to move the website, mailbox contents? Both servers are cPanel plans, I would just use copy account in WHM if it was not an add-on domain.
View Replies!
View Related
Add Domain Via Direct Admin
When I introduce myself as a newbie, I do not exaggerate. Hope to slowly change that, thought. I have recently rented a dedicated server from worldstream and have paid for a lifetime usage of Directadmin. My goal is just to host my own site. Now I am trying to transfer the my domain to this server. From what I can tell, I need to change the DNS for the domain from it's current DNS. In the Directadmin control panel under "DNS Administration", I see "Add Zone" which I assume is the step to take. Under "Add zone", it asks for (1) Domain name (what format would I enter this) (2) IP Address (I was supplied with three IP's when I signed up with worldstream. Do I just pick one of these?) (3) Name Server 1 (Unsure of what to enter here) (4) Name Server 2 (Ditto as above) I realize this is quite basic for most.
View Replies!
View Related
Add-On Domain Park Wrapper
I moved my whole account from one server to another but now the add-on domains inside the main domain are not working. When I try to re-add the domains in the new host's cpanel, it says: Quote: Error from park wrapper: domain.org is already configured. What file is it on the server that holds this information? I really need to remove this domain name from there so I can re-add it.
View Replies!
View Related
Can You Add Too Many Aliased Domain Names
Is it possible to add too many aliased domain names on a Dedicated server? I have Hostgator's most powerful dedicated server and I added probably 150 domain names as aliases to one of my websites. Now today all of the sudden none of my other sites will load on the web. When I try to go to one of my sites it just thinks and thinks but never loads. I'm using WHM with cPanel. Can aliased names cause too much server load? Some of those 150 domains get a little traffic but not much.
View Replies!
View Related
|