Server :: Apache Virtual Hosting On RHEL4?

Jun 13, 2010

i am configuring a web server with multiple virtual host on RHEL4 AS but i m getting no error except the following one.but when i browse the web site it does not work even

Starting httpd: [Sun Jun 13 05:53:57 2010] [warn] NameVirtualHost *:80 has no VirtualHosts

my httpd.conf file is as follow

Use name-based virtual hosting.
#
NameVirtualHost *:80
#
# NOTE: NameVirtualHost cannot be used without a port specifier

[code]....

View 6 Replies


ADVERTISEMENT

Server :: Stop IP Based Hosting In Virtual Hosting?

Aug 18, 2011

I have designed name based virtual hosting in apache. as of now,I am able to access website using IP also. which is I am looking to block, only can access by the name

View 7 Replies View Related

Ubuntu Servers :: Apache Virtual Hosting On HTTPS?

Apr 11, 2011

I am trying to get name based virtual hosts all running on HTTPS (port 443) so I can run multiple sites on the one IP.

The DocumentRoot needs to be different for each host.

[URL]

However, I am unable to find where to actually enable these hosts in the configs. The apache website says to put it in httpd.conf however that file is empty on my machine.

The existing default virtual hosts are in "/etc/apache2/sites-available/default" and "default-ssl"

The main config file is /etc/apache2/apache2.conf

I am running version 2.2.16 of apache

I need to use the same .htpasswd file for all the sites.

I have configured CNAMES on my domain for all of these hosts.

View 4 Replies View Related

Server :: Updating Apache Tomcat On RHEL4

May 15, 2011

I installed very old the rhel package Apache Tomcat/5.5.20. I want to update it 5.5.33 or Tomcat6. Do you have the update for redhat?

View 1 Replies View Related

Server :: SSL With Namebased Virtual Hosting?

May 15, 2010

me know the detailed reason that why we can't use name based virtual hosting with SSL

View 1 Replies View Related

Server :: Virtual Hosting With No Domain Name?

Feb 7, 2010

Just wondering if it's possible to do virtual hosting without a registered domain name. I'm running slackware 13 and just trying to do it like this in my vhost config:192.168.15.149/test1.phpand 192.168.15.149/test2.php

View 14 Replies View Related

Server :: Can Not Get Name Bassed Virtual Hosting Working On RH9?

Apr 8, 2010

I was told that I could create multiple websites ona single machine useing Virutual Hosts.I have RedHat Linux 9 running Apache/2.0.40. I want to make offline test sites to learn with and have read it is as simple as changing /etc/httpd/conf/httpd.conf file but I have not been able to make it work yet. I have read over the past 3 days of working on this that the default virtual host must contain the same DocumentName and ServerName as the global info above the Virtual Host Section in the httpd.conf file.Above Virtual Host Section:

Code:
Listen 80
ServerName localhost:80

[code]...

View 9 Replies View Related

Server :: Name Based Virtual Hosting Not Working?

Jan 10, 2011

I've been trying to get my name-based server to work for a week now. I've read about everything there is and double checked my configs, but when I go to any of my sites, it always goes to the first virtual host.Here is my Webmin system info -Quote:

System hostnamelocalhost.localdomain
Operating systemRedhat Linux Fedora 11
Webmin version1.530

[code]...

View 6 Replies View Related

CentOS 5 Server :: FTP Service For Virtual Web Hosting?

Nov 3, 2010

I have just finished bulding a virtual web hosting server on my CentOS-5.5 x86_64 linux box with several websites hosted and its working fine. Now I have to build and FTP service in this webhosting server so that i can create indviudal login for each website and provide access to thier respective web directory only. This is where I am stuck. I have been trying to find out some docs and instructions to achieve this but in vain.

What I need is to configure an FTP service in the web server so that individual owner of websites can login to thieir respective web directories only and upload and download files as well as create, delete and modify the contents of their web directory.

View 1 Replies View Related

CentOS 5 Server :: Way To Format Namebased Virtual Hosting

Aug 8, 2010

Over the years I've had various flavours of linux on webservers, each has handled this in it's own way - some due to the GUI that was installed etc...

What is your prefered way of holding NameBased Virtual Host records...?

Is it like the redhat system having a sites-available and a sites-active and sim linking the records of the active sites and having httpd.conf only get the info from sites-available?

I know that some people have all the Virtual Hosts records at the end of httpd.conf (or apache2.conf)

What would you do if you had to start a fresh?

I'm running
CentOS 5.5
LAMP (Latest versions at 1/8/10)

View 4 Replies View Related

Server :: Http Server In Red Hat 6 - Extend Web Server Through Virtual Hosting?

Aug 17, 2011

how do i able to allow some users that are able to create content in directory of http server. For example: i have configured a web server which have default document root /var/www/html, now i want to extend my web server through virtual hosting , i have enable virtual hosting, but i want that user sumit is able to create content in /var/www/html/secret. which is the document root for my virtual site?

View 5 Replies View Related

Server :: Apache Virtual Host To Limit The Concurrent Connections Of Virtual Hosts?

Jul 3, 2009

apache virtual host to limit the concurrent connections of virtual hosts? Taking into account the host of each virtual user's home directory can also have more than one subdirectory, which should be restricted to a subdirectory. Is beyond the control of the operation of these sites in a subdirectory. Best local restrictions or limitations to the overall situation.

View 1 Replies View Related

Server :: Tunnel Apache Virtual Host To An Internal Apache?

Jan 24, 2010

I am upgrading my server and I have a lot of sites. Since I cannot take my server down for a few days, maybe a week until I manage to migrate all the sites to the new machine, I figured I could migrate them one by one. After migrating one, I would somehow tunnel the requests of that name virtual host to my internal machine. When everything is migrated, I would then switch the machines, update ip's and stuff and everything will work just fine.

However I cannot seem to find a way to do this tunneling. is this at all possible? If not, what alternatives do I have?

View 5 Replies View Related

Server :: Apache Server Not Recognizing Virtual Host Fedora 12

Apr 17, 2010

I installed apache server on my Fedora 12. Its showing the test page 127.0.0.1, but when I give the address 97.168.234.76 (0r www.chaalu-kam.com), it tells that the requested url could not be retrieved.

I have made the following additions to the /etc/httpd/conf/httpd.conf file

Code:

In addition to this, I have added this to my /etc/hosts file

Code:

I wanted to test the Apache server on my laptop only by putting an html file in /var/www/html and naming it as index.html. I want this index.html page to be displayed when I put www.chaalu-kam.com in my browser. What should I do? My firewall is off too

View 10 Replies View Related

Server :: Apache On A Virtual Machine?

Jan 24, 2011

I'm Rebuilding all the servers in the company I work for. I read anything I found about best practices in virtualizing, but I didn't find anything about virtualizing Apache. As MySQl is not considered to be virtualized as a best practice but to be on a separate machine - my question is "Do I virtualize an Apache server or put it on another real machine?". And also I'm going to put the server on Ubuntu!

View 11 Replies View Related

Server :: Apache With Virtual Host ?

Oct 5, 2009

On my server I have connected domain: www.my-first-domain.com which is installed in /var/www/first

For that domain I have installed virtual host.

Quote:

I dont know why, when I will put address my-first-domain.com instead of www.my-first-domain.com server redirect that domain to folder /var/www/.

View 8 Replies View Related

Server :: Apache Disable SSL On A Virtual Host

Jan 22, 2010

I'm running Apache with mod ssl, with a php app using ssl. https://www.example1.com

I've made a virtual host to host a simple static site which I dont want SSL for.

When I try and get to the site it redirects me to [url] which gives a certifcate error and shows the site from example 1.

Config below:

View 2 Replies View Related

Server :: Apache Virtual Host Setup

Oct 29, 2009

I have 4 domains registered through godaddy. I have a dell poweredge box with one static IP hosted somewhere. I want the 4 domain to resolve to four different sites. I have already created 4 different sites in apache with four different aliases and has enabled it.

eg
alias /a /var/www/a
alias /b /var/www/b
alias /c /var/www/c

I want to acomplish.

www.a.com ==> xx.xx.xx.xx/a
www.b.com ==> xx.xx.xx.xx/b
www.c.com ==> xx.xx.xx.xx/c

I tried with godaddys forward with masking option. It works but I can't hide xx.xx.xx.xx/a in the links. Whats the best approach? One limitation is I cannot use the webhosts name servers. How do I set this up with name based virtual hosting? Do I setup a DNS server in the box?

I do have a dns host name for my box which is publicy accessible. Some my.ca.examplehost.net

View 3 Replies View Related

Server :: Apache Virtual Hosts With IP Address?

Jul 2, 2010

What is the (officially) proper way to configure Apache so that a given IP address can have two or more virtual host names, each going to different distinct configurations (e.g. with different DocumentRoot, Alias, etc), and also do this for the IP address so that it goes to a designated configuration rather than defaulting to the first or a random host name?

Apache documentation does not appear to address this. If so, it has it hidden in a non-obvious place.

View 7 Replies View Related

Server :: Apache With Wildcard SSL And Virtual Host

Apr 28, 2009

I'm using Apache 2.2 to host multiple subdomains using a single SSL certificate (a wildcard certificate e.g. *.mydomain.com) and, yes, it works! Everything seems to be served correctly and the browsers are pretty happy.

And you can also have the non-SSL sites (virtual hosts on port 80) on the same IP. (That's covered elsewhere)

For those that want similar functionality here's my discovery...

My configuration is like this:

ssl.conf:

Code:

I would have to say that I don't believe that this will work if you are not using a wildcard SSL certificate and having anything other than subdomains under that wildcard.

It is somewhat limited in scenario where this is useful, but for a set of company websites that should be under SSL, this can be tremedously useful when you have a single IP.

View 2 Replies View Related

Server :: Different PHP Versions Per Apache Virtual Host

Sep 10, 2009

I'm running XAMPP 1.7.2 on Ubuntu 8.10 (Linux dt19.im.local 2.6.27-14-generic #1 SMP Tue Aug 18 16:25:45 UTC 2009 i686 GNU/Linux) and am using the PHP 5.3.0 Apache module as standard. For one virtual host I'd like to use PHP 5.2.X as it is part of a project which has a lot of legacy code which is not compatible with PHP 5.3.0. The virtual host configuration block and the applicable directory directive are as follows -

Code:

Checking phpinfo() output on the above virtual host (or using the default virtual host directive and accessing it via http://localhost/[SNIP]/[SNIP]/phpinfo.php rather than [url] shows PHP 5.3.0 is running. After applying minor tweaks such as adding ScriptAlias or SetEnv options the problem persists. I've Googled for a good while and have checked the permissions and the like and tried the advice of other users (XAMPP or otherwise) either resulting in PHP 5.3.0 being used or a HTTP 400 bad request/invalid URI error. I've stuck with the configuration above as this is correct according to the PHP manual.

FYI cgi-bin/php-5.2.6 is a soft symbolic link to /opt/lampp/bin/php-5.2.6 (I've added the FollowSymLinks option to the cgi-bin directory directive in httpd.conf). I've tried installing php5-cgi from the Ubuntu repos and setting it up in a similar way, to no avail. I've also tried copying the executables into the cgi-bin directory, pointing the Action line directly to bin/php-5.2.6 and dropping the -c /opt/lampp/etc/php.ini-pre1.7.2 option in the Action line. I've even tried commenting out the LoadModule lines for PHP which results in a HTTP 400 bad request/invalid URI error. This demonstrates the fact that the PHP CGI use is being ignored.

I've checked httpd.conf and the extra/httpd-*.conf files and ensured all required includes are being loaded. I know that it's probably something stupid on my part which is causing this! Given that I've tried PHP CGI builds in the Ubuntu repos I don't think this is an XAMPP-specific issue.

View 1 Replies View Related

Server :: Accessing An Apache Virtual Host ?

Jan 19, 2010

One of our Apache servers, version 2.2.3, is running three virtual hosts on it. However, while two are accessible, gray.mgh.harvard.edu, www.plastimatch.org, the third, cmrol.mgh.harvard.edu cannot be reached by any remote host.

I am at a loss as to why this is occurring. To that end, I am including the httpd.conf file as an attachment in the hopes someone can see what I missed, and help correct this issue.

View 4 Replies View Related

Server :: SSL Certificates And Virtual Hosts On Apache

Jan 9, 2011

I run couple of sites on a virtual hosting environment and I am in need of adding additional SSL for a different domain name. From what I read on some forum topics indicate that SSL cert requires different IP address. meaning one cert for each IP. Is this true? If so, then I'm having some difficulties understanding the benefits of running virtual host if a server can't host multiple secured site through single IP. Any way to run multiple ssl site within virtual host environment. I'm hoping for a possible workaround.

View 3 Replies View Related

Server :: Apache 2.2.14 Ignores SSL Cipher In Virtual Host

Feb 23, 2010

I'm trying to figure out why Apache is ignoring SSL Cipher statements when placed inside a Virtual Host. Specifically I'm trying to disable SSLv2 and only allow SSLv3 or TLSv1

In httpd-ssl.conf I have the following

Code:

And when I try and connect, I get the expected results.

Quote:

In my virtual host statement I have

Code:

The only difference between the two is the httpd-ssl.conf has -ALL in the CIPHER, and the virtual host entry has ALL. However if I try and change the ALL statement in the virtual host entry to -ALL I get the following error in my logs & get no content.

Quote:

Why it's not working in the virtual host statement? Unfortunately as many of you are probably aware it's impossible to gain PCI certification with SSLv2 enabled.

View 5 Replies View Related

Server :: Apache 2.2 Virtual Hosts - Defaulting To Main?

Jul 19, 2011

First of all I've looked at "similar threads" without finding an answer. I'm setting up Name-based VH using an IP as the base. The OS is CentOS 5.4

My config looks like:

NameVirtualHost 12.345.678.90:80
#
# NOTE: NameVirtualHost cannot be used without a port specifier
# (e.g. :80) if mod_ssl is being used, due to the nature of the
# SSL protocol.

[Code]...

The names are of course not in DNS so to access the server from my local Windows machine I had to use the hosts file: 12.345.678.90 dev1 Entering dev1 in my browser *does* take me to the server but it takes me to default VH (DocumentRoot /var/www/html). What am I overlooking?

View 14 Replies View Related

Server :: Apache Virtual Hosts - Ubuntu Desktop?

Jul 15, 2011

I have just setup two Apache virtual hosts and I was wondering how I could link them to different domains so that they could be accessed from another machine.

View 7 Replies View Related

Server :: Edit Apache Virtual Hosts Successfully - But Can't Add A New One?

Oct 28, 2010

This really has me baffled! I'm running Apache 2.2 on Windows Server 2003 (I know, my first blunder). I can edit existing virtual hosts without a problem, for example, I can change this existing vhost to point to a different document root and it works fine:

<VirtualHost *:80>
ServerName existingsubdomain.mydomain.net
DocumentRoot "C:/Inetpub/wwwroot/mydirectory"
</VirtualHost>

But the moment I try to add a new virtual host, it doesn't get recognized! When I try to browse to it in a browser, I get a "Server not found: Firefox can't find the server at newsubdomain.mellemallc.net."

<VirtualHost *:80>
ServerName newsubdomain.mydomain.net
DocumentRoot "C:/Inetpub/wwwroot/mydirectory"
</VirtualHost>

Can anyone point me in the right direction as to why this may be happening?

View 4 Replies View Related

Server :: Name Based Virtual Host For Apache And Tomcat

Jul 22, 2010

I am having two domains. for ex: www.example1.com and www.example2.com. These two domains need to be hosted under one ip. Yes by configuring name based virtual host we can do that. But, my question is my first domain(www.example1.com) need to be hosted by Apache web server, and my second domain(www.example2.com) need to be hosted by Tomact. Is it possible to configure name based virtual host for a scenario like this.

View 6 Replies View Related

CentOS 5 :: Virtual Hosting With VSFTPD And MySQL?

Jan 31, 2010

I thought someone might find this useful and not have to lose a day for getting it work... (as I did)...

so this is a Tutorial HowTo based on Virtual Hosting With vsftpd And MySQL On Debian Etch but with modifications needed to work on CentOS 5 (in my case it was CentOS 5.4 x86 32bit).

You will need (if not already installed): yum install vsftpd mysql-server

View 12 Replies View Related

Server :: Apache 2.0 - Setup SSL Client Authentication On Only One Virtual Host

Aug 18, 2010

I was trying to setup SSL Client authentication on only one virtual host. Here is a brief excerpt sample of my conf file for the virtual host:

<VirtualHost xx.xx.xx.xx:443>
SSLRequire %{SSL_CLIENT_S_DN_O} eq "something"
SSLVerifyClient require
SSLVerifyDepth 2
</VirtualHost>

But when I try to check for syntax errors tells me SSLRequire not allowed here I do not want to add SSLRequire on the main httpd.conf because I only want it for one virtual host. The rest of the virtual hosts do not need it.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved