RE: [users@httpd] subdomains
Hello Jeroen Thanks for reply.I already created 2 virtual host one pointing to (its document root) /mydomain and the other is pointing to /mydomain/admin the problem is I want admin.mydomain to work correctly while it does not because each time I type url it load the correct index.php but after that everything goes wrong and log file has error that file does not exist because it search for it in wrong path. It always search for it under /mydomain/admin/ while files actually exist under /mydomain. The files that located in /mydomain/admin works fine .sorry but I am new to apache .that is how I understand the problem but I don't know what to do. From: Jeroen Geilman [mailto:jer...@adaptr.nl] Sent: Tuesday, July 05, 2011 10:23 PM To: users@httpd.apache.org Subject: Re: [users@httpd] subdomains On 2011-07-05 15:20, Amira Othman wrote: Hi All, I am using httpd-2.2.3-43.3 That's pretty old. on centos 5.6. Ah, that explains that. I created subdomain A whut ? Apache doesn't know or care about domains. A hostname is a hostname. ,it works fine except when calling image I found in log file that it goes to wrong path How so ? Do you have logs and configuration that show this ? although I am writing the correct one in document root Mydomain.com/subdomain works fine That's not a documentroot; it points to a subdirectory of the documentroot. Subdomain.mydomain.comfine but images have wrong path That's not a documentroot either, but a fully-qualified hostname, different from the one above. Typically, that indicates that this is a different vhost, ergo a separate site. Amira Othman Server Administrator http://www.cairosource.com/ www.cairosource.com 6 EL Nil EL Abyad, Mohandiseen Cairo, Egypt Direct: +2 02 3303 7175 Mobile: +2 012 220 4165 Disappointing. The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. You're posting to a publically archived mailing list. Should I delete the message ? -- J. image001.jpg
[users@httpd] Apache2 slow with protfpd
I'm using: - Debian Squeeze - Server version: Apache/2.2.16 (Debian) - ProFTPD Version 1.3.3c - Net2FTP v 0.98 Hi guys i'm currently using a php script (Net2FTP) as a web FTP client. But i'm experiencing some issues when i try to access big files. I know this is an Apache list but I've already asked in proftpd forums and net2ftp forums and nobody could help me. When i try to access a big file (1GB or more) from my web server through apache2 directly it works well i get the download start immediately. When i access a big file connecting to my proftpd server through a normal client like Filezilla i get no problem too, it works as intended. The problem occurs when i connect through net2ftp script. Connection and file listing it's ok. But when i try to get a big file, is when i get the issue. It takes for e.g 15minutes to serve the net2ftp script client a 500Mb file. I think the problem is the connection between apache2 and proftpd. Watching the processes with top on my server i get something like this. top - 17:39:59 up 2 days, 6:44, 3 users, load average: 0.00, 0.00, 0.00 Tasks: 198 total, 1 running, 197 sleeping, 0 stopped, 0 zombie Cpu(s): 0.1%us, 0.2%sy, 0.0%ni, 99.6%id, 0.2%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 3504560k total, 3154244k used, 350316k free,86552k buffers Swap: 2654792k total,0k used, 2654792k free, 2718484k cached PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 9129 www-data 20 0 36788 9260 3484 S1 0.3 0:00.13 apache2 10371 10008 20 0 10348 3260 1928 S1 0.1 0:00.07 proftpd While my server is trying to serve the file it also totally blocks the apache2 server. I've tried looking for apache2 config, php5 config and proftpd configs. And I'm going mad at this point. I don't know if there's any option to make apache2 use more memory for php scripts, but i've already edited php config to use more memory on request etc.. I've also checked max execution time, timeouts etc... Thank you very much all of you in advance. Best regards, Guille.
[users@httpd] Reminder: TAC Assistance to ApacheCon NA 2011 closes July 8th
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi All, Just a friendly (and final) reminder that applications for financial help to attend ApacheCon NA 2011 in Vancouver close this coming Friday 8th July (2200 BST : UTC+1). Financial assistance is available for Travel (planes, trains, whatever) , Accomodation (at the conference venue hotel) and Conference entrance fees. Dependant on your circumstances will decide how much of that you would be given. Please visit http://apache.org/travel for more information and a link to the application form. Remember: We DO help people get to ApacheCon and other Apache events every year, we DO want to help people get there who otherwise could not, that is why we exist. Spread the word, you are welcome to tweet, blog, email, post, phone or smoke signal to anyone who you think might benefit from attending ApacheCon this year. Kind Regards, The Travel Assistance Committee. -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org iQIcBAEBAgAGBQJOFIfaAAoJEJu4Y7D1G7iKxjkP/RI+FUTDOapL3+1NqwsQhnps XUa7v+nfQC+/J1SnqISge6EberqOPBSVzqNGzq299nbC3ANljbmolOKxp8b5gUFQ fmAixkq8D41byW/Ct+c8gO3uyGbiolps75+b+wB50eM+W7OuO2s+eI6FnCchx93a z5LDz6+o8F3f4GRDZYcN4toRNRu5FYpbgnP+z93SFlDu1BV6idRc9453GSHaMnAK A3XOhfuni7OEmvcO0XwVem5W8BK5P1nk9lO1MXUvRp2Lg4X9i8NnN5MSBdkheHfc cxveJgRXAo9aE0WdyR8fjVLvEJBdlpWDWsJRCb/7+fROl9ek3j7A7cxaAodgU6fa Qc4jGcvD8geqhdP18b4IxgphZsdyqhfDuOyskFswnnUmqzIj2uRetRXxt7mGVJh5 hgJV2BoGK4ix+0/AP5UMjgwgte4e5z5LnqYvnK3SdJxNlMjkhnN2C40ytjp+59ub y4FZ7o4idnHYhiFMdRVsN/h+SeycrW6AP7xjvvsCJeefeioR/AKINimTMKUS+VS2 wTc2KvXmJe5OBb03GJtDN1gv8dM2pfjBzQ5VMdnCWKf8T0Mtk26ogam7j8Y48fS3 pVtJm+aOEpkCpRfr0nWWh4w4vG5eaGEfLjE6GRZBEqbz9GtNGpP08lCv7/ybqdey udoxTUpzdmGGGBcMzNLG =VxYQ -END PGP SIGNATURE- - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
RE: [users@httpd] Problem with disabling directory listing
Adding -Indexes didn't work either. Cathy --- Cathy L. Smith IT Engineer Pacific Northwest National Laboratory Operated by Battelle for the U.S. Department of Energy Phone: 509.375.2687 Fax: 509.375.2330 Email: cathy.sm...@pnl.gov -Original Message- From: Voellinger, Sandy [mailto:sandy.voellin...@neustar.biz] Sent: Friday, July 01, 2011 10:50 AM To: users@httpd.apache.org Subject: Re: [users@httpd] Problem with disabling directory listing Try doing the following: Directory /var/www/ Options -Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all /Directory Change /var/www/ to the doc root of your apache server . Cheers- Sandy On Jul 1, 2011, at 1:27 PM, Smith, Cathy wrote: Hi I'm having a problem disabling directory listing for my DocumentRoot. I've taken out the Indexes parameter for Options, and I'm still able to list the directory. Here is the section from the httpd.conf. I'd appreciate it if someone could tell me what I need to do differently. This is a RHEL5 box running Apache 2.2.3. Directory / Options FollowSymLinks AllowOverride None Order Deny,Allow Deny from all /Directory # # Directory /var/www/html Options FollowSymLinks AllowOverride None Order Deny,Allow Allow from all /Directory Thank you. Regards, Cathy --- Cathy L. Smith IT Engineer Pacific Northwest National Laboratory Operated by Battelle for the U.S. Department of Energy Phone: 509.375.2687 Fax:509.375.2330 Email: cathy.sm...@pnl.gov - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] subdomains
On 2011-07-06 10:00, Amira Othman wrote: Hello Jeroen Thanks for reply.I already created 2 virtual host one pointing to (its document root) /mydomain and the other is pointing to /mydomain/admin Don't do that. VirtualHosts should never overlap, as unexpected things will happen and access controls become... interesting. the problem is I want admin.mydomain Not mentioned above; please understand that a virtualhost is defined by a Servername and a Documentroot. It is neither of those things by itself, and neither of those things is directly related to the other, either. The virtualhost is what relates them. to work correctly while it does not because each time I type url it load the correct index.php but after that everything goes wrong That's not very descriptive. Include the relevant configuration and logs that show the issue. and log file has error that file does not exist because it search for it in wrong path. It always search for it under /mydomain/admin/ while files actually exist under /mydomain. The files that located in /mydomain/admin works fine .sorry but I am new to apache .that is how I understand the problem but I dont know what to do. You should take a long, hard look at the documentation for virtual hosting: http://httpd.apache.org/docs/current/vhosts/ This explains several key concepts. -- J. From: Jeroen Geilman [mailto:jer...@adaptr.nl] Sent: Tuesday, July 05, 2011 10:23 PM To: users@httpd.apache.org Subject: Re: [users@httpd] subdomains On 2011-07-05 15:20, Amira Othman wrote: Hi All, I am using httpd-2.2.3-43.3 That's pretty old. on centos 5.6. Ah, that explains that. I created subdomain A whut ? Apache doesn't know or care about "domains". A hostname is a hostname. ,it works fine except when calling image I found in log file that it goes to wrong path How so ? Do you have logs and configuration that show this ? although I am writing the correct one in document root Mydomain.com/subdomain works fine That's not a documentroot; it points to a subdirectory of the documentroot. Subdomain.mydomain.com fine but images have wrong path That's not a documentroot either, but a fully-qualified hostname, different from the one above. Typically, that indicates that this is a different vhost, ergo a separate site. Amira Othman Server Administrator www.cairosource.com 6 EL Nil EL Abyad, Mohandiseen Cairo, Egypt Direct: +2 02 3303 7175 Mobile: +2 012 220 4165 Disappointing. The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. You're posting to a publically archived mailing list. Should I delete the message ? -- J.
Re: [users@httpd] Apache2 slow with protfpd
On 2011-07-06 17:47, Guille wrote: I'm using: - Debian Squeeze - Server version: Apache/2.2.16 (Debian) - ProFTPD Version 1.3.3c - Net2FTP v 0.98 Hi guys i'm currently using a php script (Net2FTP) as a web FTP client. But i'm experiencing some issues when i try to access big files. I know this is an Apache list but I've already asked in proftpd forums and net2ftp forums and nobody could help me. So let me get this straight - you're using apache to serve a PHP page that connects to an FTP server ON THE SAME MACHINE to transfer files over the network ? Wow. Really - wow. When i try to access a big file (1GB or more) from my web server through apache2 directly it works well i get the download start immediately. When i access a big file connecting to my proftpd server through a normal client like Filezilla i get no problem too, it works as intended. The problem occurs when i connect through net2ftp script. Contact its author and ask him to fix it. Connection and file listing it's ok. But when i try to get a big file, is when i get the issue. It takes for e.g 15minutes to serve the net2ftp script client a 500Mb file. Obviously the bad script tries to retrieve the FTP file completely before serving it via apache. Try it with a file larger than you have virtual memory. The process should die. I think the problem is the connection between apache2 and proftpd. No, it's not. it's the bad script. -- J. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Apache2 slow with protfpd
Yeah it's sad but apache is serving a php page to connecto to a FTP server on the same machine. It's supposed to be another kind of access for customers. Not all customers know how to use an ftp program correctly, so i want to offer them another way to connect via browser directly. 2011/7/6 Jeroen Geilman jer...@adaptr.nl On 2011-07-06 17:47, Guille wrote: I'm using: - Debian Squeeze - Server version: Apache/2.2.16 (Debian) - ProFTPD Version 1.3.3c - Net2FTP v 0.98 Hi guys i'm currently using a php script (Net2FTP) as a web FTP client. But i'm experiencing some issues when i try to access big files. I know this is an Apache list but I've already asked in proftpd forums and net2ftp forums and nobody could help me. So let me get this straight - you're using apache to serve a PHP page that connects to an FTP server ON THE SAME MACHINE to transfer files over the network ? Wow. Really - wow. When i try to access a big file (1GB or more) from my web server through apache2 directly it works well i get the download start immediately. When i access a big file connecting to my proftpd server through a normal client like Filezilla i get no problem too, it works as intended. The problem occurs when i connect through net2ftp script. Contact its author and ask him to fix it. Connection and file listing it's ok. But when i try to get a big file, is when i get the issue. It takes for e.g 15minutes to serve the net2ftp script client a 500Mb file. Obviously the bad script tries to retrieve the FTP file completely before serving it via apache. Try it with a file larger than you have virtual memory. The process should die. I think the problem is the connection between apache2 and proftpd. No, it's not. it's the bad script. -- J. --**--**- The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/**userslist.htmlhttp://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.**apache.orgusers-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscribe@**httpd.apache.orgusers-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Apache2 slow with protfpd
On 2011-07-06 21:56, Guille wrote: Yeah it's sad but apache is serving a php page to connecto to a FTP server on the same machine. It's supposed to be another kind of access for customers. Not all customers know how to use an ftp program correctly, so i want to offer them another way to connect via browser directly. ... so allow them to use a browser directly. Why does there have to be FTP in between ? Apache excels at serving files. 2011/7/6 Jeroen Geilman jer...@adaptr.nl mailto:jer...@adaptr.nl On 2011-07-06 17:47, Guille wrote: I'm using: - Debian Squeeze - Server version: Apache/2.2.16 (Debian) - ProFTPD Version 1.3.3c - Net2FTP v 0.98 Hi guys i'm currently using a php script (Net2FTP) as a web FTP client. But i'm experiencing some issues when i try to access big files. I know this is an Apache list but I've already asked in proftpd forums and net2ftp forums and nobody could help me. So let me get this straight - you're using apache to serve a PHP page that connects to an FTP server ON THE SAME MACHINE to transfer files over the network ? Wow. Really - wow. When i try to access a big file (1GB or more) from my web server through apache2 directly it works well i get the download start immediately. When i access a big file connecting to my proftpd server through a normal client like Filezilla i get no problem too, it works as intended. The problem occurs when i connect through net2ftp script. Contact its author and ask him to fix it. Connection and file listing it's ok. But when i try to get a big file, is when i get the issue. It takes for e.g 15minutes to serve the net2ftp script client a 500Mb file. Obviously the bad script tries to retrieve the FTP file completely before serving it via apache. Try it with a file larger than you have virtual memory. The process should die. I think the problem is the connection between apache2 and proftpd. No, it's not. it's the bad script. -- J. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org mailto:users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org mailto:users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org mailto:users-h...@httpd.apache.org
[users@httpd] Canonicalizing Domains / Hostnames
Hi All, I have a site that is accessible through multiple hostnames like: http://www.busicorp.com/ http://server123.vps.hosting.net/ http://busicorp.com/ but I only want the site to be accessible through the first hostname (http://www.busicorp.com/ and https://www.busicorp.com/). How can I block these other hostnames? I have been using Apache for many years but I'm drawing a blank as to where to begin with this. Can someone give me a pointer? Thanks, Mike - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Canonicalizing Domains / Hostnames
It was thus said that the Great Michael B Allen once stated: Hi All, I have a site that is accessible through multiple hostnames like: http://www.busicorp.com/ http://server123.vps.hosting.net/ http://busicorp.com/ but I only want the site to be accessible through the first hostname (http://www.busicorp.com/ and https://www.busicorp.com/). How can I block these other hostnames? I have been using Apache for many years but I'm drawing a blank as to where to begin with this. Can someone give me a pointer? The easiest might be to set the non-preferred domains to redirect to the preferred domain. Something like: VirtualHost 205.186.183.199:80 ServerNameserver123.vps.hosting.net busicorp.com Redirect permanent / http://www.busicorp.com/ /VirtualHost That will redirect all requests to server123.vps.hosting.net and busicorp.com to your preferred domain name, and at least as far as Google goes, the Page Rank for the non-preferred sites will be transferred to the preferred domain name. -spc - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Canonicalizing Domains / Hostnames
On Wed, Jul 6, 2011 at 8:59 PM, Sean Conner s...@conman.org wrote: It was thus said that the Great Michael B Allen once stated: Hi All, I have a site that is accessible through multiple hostnames like: http://www.busicorp.com/ http://server123.vps.hosting.net/ http://busicorp.com/ but I only want the site to be accessible through the first hostname (http://www.busicorp.com/ and https://www.busicorp.com/). How can I block these other hostnames? I have been using Apache for many years but I'm drawing a blank as to where to begin with this. Can someone give me a pointer? The easiest might be to set the non-preferred domains to redirect to the preferred domain. Something like: VirtualHost 205.186.183.199:80 ServerName server123.vps.hosting.net busicorp.com Redirect permanent / http://www.busicorp.com/ /VirtualHost That will redirect all requests to server123.vps.hosting.net and busicorp.com to your preferred domain name, and at least as far as Google goes, the Page Rank for the non-preferred sites will be transferred to the preferred domain name. Hi Sean, Ok. But I already have: VirtualHost *:80 ServerName www.busicorp.com ... /VirtualHost Can I have multiple VirtualHost sections with the same address (*:80) or expressions that overlap logically? Mike - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Canonicalizing Domains / Hostnames
It was thus said that the Great Michael B Allen once stated: Hi Sean, Ok. But I already have: VirtualHost *:80 ServerName www.busicorp.com ... /VirtualHost Can I have multiple VirtualHost sections with the same address (*:80) or expressions that overlap logically? Yes. You'll need to add a NameVirtualHost directive before the VirtualHost directives. NameVirtualHost *:80 VirtualHost *:80 ServerName www.busicorp.com ... /VirtualHost VirtualHost *:80 ServerName server123.vps.hosting.net busicorp.com Redirect permanent/ http://www.busicorp.com/ /VirtualHost The NameVirtualHost directive tells Apache that there multiple sites sharing the same IP address. Apache will then use the information the browser passes in (as part of the request) to determine which site to reference (it's the Host: header the browser sends in). If it's missing, Apache will default to the first VirtualHost listed (so you want your primary listed first---unless I'm mistaken, which I could be). -spc - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Canonicalizing Domains / Hostnames
On Wed, Jul 6, 2011 at 10:05 PM, Sean Conner s...@conman.org wrote: It was thus said that the Great Michael B Allen once stated: Hi Sean, Ok. But I already have: VirtualHost *:80 ServerName www.busicorp.com ... /VirtualHost Can I have multiple VirtualHost sections with the same address (*:80) or expressions that overlap logically? Yes. You'll need to add a NameVirtualHost directive before the VirtualHost directives. NameVirtualHost *:80 VirtualHost *:80 ServerName www.busicorp.com ... /VirtualHost VirtualHost *:80 ServerName server123.vps.hosting.net busicorp.com Redirect permanent / http://www.busicorp.com/ /VirtualHost The NameVirtualHost directive tells Apache that there multiple sites sharing the same IP address. Apache will then use the information the browser passes in (as part of the request) to determine which site to reference (it's the Host: header the browser sends in). If it's missing, Apache will default to the first VirtualHost listed (so you want your primary listed first---unless I'm mistaken, which I could be). Thanks, This worked for redirecting busicorp.com to http://www.busicorp.com/. But it did not work for server123.vps.hosting.net (which strangely enough has a different IP address). Odd. Mike - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Canonicalizing Domains / Hostnames
On Wed, Jul 6, 2011 at 10:23 PM, Michael B Allen iop...@gmail.com wrote: On Wed, Jul 6, 2011 at 10:05 PM, Sean Conner s...@conman.org wrote: It was thus said that the Great Michael B Allen once stated: Hi Sean, Ok. But I already have: VirtualHost *:80 ServerName www.busicorp.com ... /VirtualHost Can I have multiple VirtualHost sections with the same address (*:80) or expressions that overlap logically? Yes. You'll need to add a NameVirtualHost directive before the VirtualHost directives. NameVirtualHost *:80 VirtualHost *:80 ServerName www.busicorp.com ... /VirtualHost VirtualHost *:80 ServerName server123.vps.hosting.net busicorp.com Redirect permanent / http://www.busicorp.com/ /VirtualHost The NameVirtualHost directive tells Apache that there multiple sites sharing the same IP address. Apache will then use the information the browser passes in (as part of the request) to determine which site to reference (it's the Host: header the browser sends in). If it's missing, Apache will default to the first VirtualHost listed (so you want your primary listed first---unless I'm mistaken, which I could be). Thanks, This worked for redirecting busicorp.com to http://www.busicorp.com/. But it did not work for server123.vps.hosting.net (which strangely enough has a different IP address). Odd. Nevermind. I have my servers mixed up. I had to tweak the config on two separate servers. I have it all working now (I think). Thanks, Mike - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org