I created a new virtual site and cloned an existing to to the new docroot to have content. But when I access it I receive the Access Denied you do not have permission to access . . .I've checked all my entries and unless I'm blind I cannot figure out how to remedy this on my Windows 2003R2 server running apache 2.2.x
For some reason, the first virtual host i have listed in apache2.conf gets all the traffic of all the other virtual hosts listed below it.
Example: Domain xyz.com is listed as the first virtual host. the second, third, and fourth are 123.com, 987.com, and mno.com, respectively (fictitious domains). However, it seems that everything below xyz.com goes straight to xyz.com.
If i switch the first entry, xyz.com with any of the others, such as mno.com, so that mno.com is the first virtual host entry, everything then forwards to that domain.
I've run into a wall trying to run apache with multiple websites allowing users to use FTPd to manage files.
I'm running FreeBSD 7.1 on Apache 2.2.x
The issue is that Apache runs as www:www but FTPd writes the files as username:client. When performing some scripts that edit back-end files, this obviously can cause errors.
The data for each directory is stored in /home/username/www
I looked into some apache directives I could use. I tried putting User and Group directives into the vhost configuration for each vhost, but that did not work. I even found the perchild module and it looked like it can do the job but was a bit scared and turned off by the fact that it states it is beta at the top of the page. (I cannot link to it because I do not have enough posts.)
Today I configured a Virtual Host (VH) for one of my customers. VH run on WindowsServer 2003 Apache 2.0.59. I enabled mod_proxy and mod_proxy_http modules and successfully loaded. Here is the VH config:
<VirtualHost xxx.xxx.xxx.xxx:80> ServerAdmin firstname.lastname@example.org ServerName www.example.com DocumentRoot C:/Apache2/htdocs/www/example.com DirectoryIndex index.php <Proxy *> Order Deny,Allow Allow from all </Proxy> ProxyRequests Off ProxyPass /cms-test [url] ProxyPassReverse /cms-test [url] ProxyPass /cms-eshop [url] ProxyPassReverse /cms-eshop [url] ErrorLog logs/www.example.com-error.log CustomLog logs/www.example.com-access.log combined </VirtualHost> According stated above proxy should map the content of yyy.yyy.yyy.yyy:80 and send it to client... Apache doesn't do that but redirects client directly to yyy.yyy.yyy.yyy instead, even rewriting URL, what is not proper purpose of proxy. I would expect proxy to retrieve content from yyy.yyy.yyy.yyy:80 and forward it to client without URL rewriting. Rewriting URL and direct aiming of client to source of content is unsuccessfull of course, because the source (yyy.yyy.yyy.yyy:80) trust only to xxx.xxx.xxx.xxx which has a right to request a content.
Could anybody explain why proxy doesn't proxy and redirects instead?
I have a fresh Ubuntu 14.04 install (desktop). I installed Apache, php and mysql from APT and updated everything.I tried to setup a virtual host using these directions: URL...I followed them to the letter:
o I created a folder /var/www/mydomain.local/public_html o I copied the 000-default.conf in sites available and modified it o I added mydomain.local to my hosts file (with IP of 127.0.0.1 o I used a2ensite to enable the host o I used service apache2 reload
When I went to mydomain.local in firefox, it took me to the default host main page.I tried a restart of the service and even a reboot of the computer. No change.On a theory, I used a2dissite to remote 000-default from the enabled site list and reloaded the service. I got the home page for mydomain.local after that.
I created a named host called localhost and reloaded the apache. When I went to http://localhost it took me to the mydomain.local homepage. Rebooted the computer. Now, localhost gives me the apache default home page and mydomain.local does not work at all (I get a server not found).
I get the feeling that there is an apache configuration item I am missing but I cannot find it.
i have followed twice a tutorial (you'll find it if you type in google "sellersrank ubuntu subversion". It is the second result. You know, I cant insert URL in my posts yet...) to install Ubuntu + Apache + Virtual host + Subversion, but when i try to access the repository through "svn.domain.com" an error message like this is showed:
Address Not Found Firefox canít find the server at svn.domain.com.
I'm going to use my apache server to host files(it works with a php script so we can't use FTP for now...) so I was wondering if I could limit this virtual host's bandwidth per second so the websites on the other virtual hosts still load properly. Any module for apache on windows which can do this?
I use Webmin (1.69) to work on my development environment. I am using Ubuntu Desktop 14.04 right now. I am not exactly an Ubuntu newbie but I would not call myself an expert either.
I created a virtual host (newdomain.local) with webmin. I filled in all the fields and saved the new VH definition. I added newdomain.local to my hosts file with an ip address of 127.0.0.1 and restarted apache.
When I go to [URL] ...., it is not taking me to the VH's home page but to the default home page.
I have a WAMP server that hosts a few sites, but I have a particular site with about 5 domains. I want them all to point to the correct website folder and all to be redirected to a single domain for SEO purposes. Here is what it looks like in the virtual hosts file:
I am currently researching the options open to me for Virtualisation, the two main ones I have seen are Xen or KVM.
I mainly use CentOS (RHEL), but have read that the version of Xen with it is very old, broken and unstable. KVM isn't included in the kernel that ships with CentOS, as it is too old, apparently it was first featured in Kernel v2.6.20. There isn't likely to be an update till RHEL6, which is due for release first quarter of 2010. I can't wait over a year, so need to find another Distro for use as the Host OS/Hypervisor.
I have built a pretty powerful server, it has an Intel Xeon 3230 which has VT - so I might be better off using KVM over Xen. I am going to collocate this server, so realistically I can make this decision only once - as it would be a PITA to re-install a host Linux distro remotely.
I did a search on distrowatch for distros with the latest version of the kernel, and Slackware came up as being just one minor version behind the most current (v126.96.36.199).
Now this distro is very mature, so should be a fairly safe bet, but it is a 32bit version and can't host 64bit VMs. I have 8GB of ram so want to be able to use it all, and offer the choice of 32/64bit VMs. So that's that out of the window.
I have used Arch Linux on and off for a couple of years as a workstation OS, but because it is so bleeding edge, when pacman updates it can break itself. But I suppose if I just use it as the Host OS, and never let it update/reboot, then it won't break. It should be fairly lightweight and stable, as I will be installing the bare minimum packages. I have a management card, so if the server fails to boot, then I can still remote in to fix it.
If I do want to update the kernel, is it possible to update without rebooting? I think it is somehow... unless I can just reboot during an unused time at 3am or something.
As you can tell I am leaning towards KVM on Arch Linux (x86_64). Is this a good plan?
I am trying to set up domains and subdomains, on my webserver, however the domains are resolving, but when accessing a subdomain I get a 500 internal server error, permissions on files are the same on both domain and sub domain level.
My virtual host files looks like this for domains and for the subdomains, and I am using Apache 2.4.7, on an ubuntu 14.04 running on a rackspace cloud server.
I've set up a website using a no ip-account, nothing fancy or business-oriented, and I have it working this way:
no-ip(port 80 redirect to port 6500)->router(redirect port 6500 to pc2 with ip 192.168.1.3)->pc2(vmware server redirects port 6500 to virtual machine with ip 192.168.60.100, which is running an asp .net server serving on port 6500)
The router does not forward any port other than that one, but I would like to know if this has any risk for the other machines on the lan.
I want to be able to clone a existing virtual machine image(whether it's openvz or xen) and deploy it.
It's sort of like Amazon EC2.
I want to set up a virtual machine image once. Then deploy it(it doesn't matter whether it's on the same physical machine or not) to a new machine or overriding existing image on a existing machine. It's fine that the VPS provider charge me a monthly charge for every virtual machine I deploy.
This way, I only need to maintain one master virtual machine. It'd be even better if I can export a image to my own machine, modify it locally, then upload it for deployment.
I'm using Vertrigo 2.30 which in turn uses Apache 2.2.26 as part of its stack I am trying to set up virutal host on Windows 7 home premium.in httpd.conf I have uncommented Include conf/extra/httpd-vhosts.conf in C:WindowsSystem32driversetchosts I have
in C:Program Files (x86)VertrigoServApacheconfvertrigo.conf I have
<Directory "C:Program Files (x86)VertrigoServwww"> Options Indexes FollowSymLinks Includes AllowOverride All Order allow,deny Allow from All </Directory>
my primary domain still works perfectly but the virtual host I created keeps loading 403 error page I have checked the Apache error log and I found two instanses of
[Tue Dec 31 08:33:29 2013] [error] [client 188.8.131.52] script 'C:/Program Files (x86)/VertrigoServ/www/vhost/modules.php' not found or unable to stat, referer: URL....I have no clue where or why its reading a module.php file granted I do use Nuke Evolution on my primary site but the only page in the virual host folder is a index.html I have checked and double checked.
I am using apache as a reverse proxy, I have several site with http and everything is working fine. For the first time I have tried to configure with https port 443 with certificate, the problem is that it doesn't return to the browser the certificate that I have indicate in the "virtual host" but rather the default certificate of the site.
I am trying to setup a subdomain and/or virtual host to redirect to a specific port and path. I have setup my server with DDYNS through my domain name registar. Through the ddyns client I have set it to assign a subdomain of "outside.name.com" so that my server will have a easy name to get to instead of a dynamic ip address.
I have also setup on my registrars host records another subdomain of "inside.name.com" with a static IP address for internet network accessing to my server.My problem is that I have a service/program on my server that I need access to both internally and externally and this service can only be access through a port of 32400 and HTTP address of /web. (e.g. outside.name.com:32400/web or inside.name.com:32400/web)...
Is there a way that I can create a VirtualHost or Subdomain of "service.*.name.com" that redirects them to ":32400/web" of the hostname they're on? (e.g. service.outside.name.com automatically forwards or proxies--to keep it pretty--to service.outside.name.com:32400/web)
I am trying to setup a subdomain and/or virtual host to redirect to a specific port and path. I am, however, having great difficulties doing this.
I have setup my server with DDYNS through my domain name registar.
Through the ddyns client I have set it to assign a subdomain of "outside.name.com" so that my server will have a easy name to get to instead of a dynamic ip address.
I have also setup on my registrars host records another subdomain of "inside.name.com" with a static IP address for internet network accessing to my server.
My problem is that I have a service/program on my server that I need access to both internally and externally and this service can only be access through a port of 32400 and HTTP address of /web. (e.g. outside.name.com:32400/web or inside.name.com:32400/web)
This is annoying for others to type out and I am just wanting to make it look pretty. Is there a way that I can create a VirtualHost or Subdomain of "service.*.name.com" that redirects them to ":32400/web" of the hostname they're on? (e.g. service.outside.name.com automatically forwards or proxies--to keep it pretty--to service.outside.name.com:32400/web)