Ubuntu + Apache + Virtual Host + Subversion

May 11, 2009

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 have Ubuntu 8.04 + Apache 2.2.8

View 4 Replies


ADVERTISEMENT

Apache Virtual Host

Jul 25, 2008

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.

View 0 Replies View Related

Apache - Run Virtual Host As User

Jun 5, 2009

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.)

View 2 Replies View Related

Apache Virtual Host, Can't Use Allowoverride

Jun 8, 2008

I have a virtual host and I want to allow .htaccess files to be used, but that requires to put allow override yes in the virtual host declairation as its off by default, but I get this error:

Starting httpd: Syntax error on line 16 of /etc/httpd/conf/virtualhosts.conf:
AllowOverride not allowed here

This completly ditches my whole virtual hosting idea that I've been planing for a while.

Any other way to allow .htaccess through virtual hosts?

using apache 2.2.3

View 4 Replies View Related

Apache ReverseProxy On Virtual Host

Nov 20, 2007

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:

Code:

<VirtualHost xxx.xxx.xxx.xxx:80>
ServerAdmin admin@example.com
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?

View 2 Replies View Related

Setting Up Virtual Host In Apache

Mar 25, 2007

I'm trying to setup a subdomain, and this is what i've added in httpd.conf

<VirtualHost 000.000.000.000>
ServerName dir.domain.com
DocumentRoot /home/domain/html/dir/
</VirtualHost>

Am i missing something here? I restarted httpd when finished.. but it doesnt work.

View 3 Replies View Related

Apache :: Setup A Virtual Host

Aug 7, 2014

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.

View 1 Replies View Related

Apache :: How To Ajp Redirect In Virtual Host

May 1, 2014

I have a server server.SERVER.com which ajp-redirects /app to port 8009 in httpd.conf as

View 7 Replies View Related

Apache Virtual Host Work On 80 But Not Over 443

Apr 18, 2013

OS: RHEL 6.4
SELinux: permissive mode
Apache: 2.2, mod_fcgid, mod_suxec, mod_ssl enabled
Common Name: [URL] .....

View 7 Replies View Related

Apache :: Reducing Bandwidth To Virtual Host?

Jan 2, 2013

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?

View 2 Replies View Related

Apache :: Virtual Host Not Using Its Web Root Doc Folder

Jul 29, 2014

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.

Why this might be happening?

View 2 Replies View Related

Apache :: Too Many Redirects With Virtual Host And HTAccess

Apr 5, 2013

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:

<VirtualHost 50.62.82.101>ServerAdmin info@hovaness.comDocumentRoot "c:/wamp/www/example"ServerName example.comServerAlias example.net www.example.com www.examples.net www.examples.com examples.com examples.netErrorLog "logs/example.com.log"

View 1 Replies View Related

Memory Used By Apache With Subversion

Jul 20, 2007

Which is more efficient in the way of memory? Using Subversion with Apache and WebDav, or using SVNServe? I figure the latter, but by how much? How much ram usually would be used by the former? I'm undecided as to which method I want to use to set up Subversion yet.

View 3 Replies View Related

Apache :: Accessing Host Running On Virtual Machine

Jul 25, 2014

I have an Apache server running on a virtual machine and I want to be able to access the pages it serves from a browser running on the host OS.

I am using OracleVM virtualbox as my VM platform.
I am using windows 7 as my host OS.
I am using ubuntu as my guest OS.

I have managed to set up a virtual host so that it works from browsers running in the guest OS (ubuntu)

But I cannot get it to serve these pages to a browser running in the host OS windows.

The config file in the apache2/sites-available and apache2/sites-enabled has the following config for the virtual host I am trying to access.

<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName testsite
DocumentRoot /var/newserver
<Directory />
Options FollowSymLinks

[Code] ....

View 1 Replies View Related

Apache :: Virtual Host Works On Port 80 But Fails On 443

Apr 20, 2013

OS: RHEL 6.4
SELinux: permissive mode
Apache: 2.2, mod_fcgid, mod_suxec, mod_ssl enabled
Common Name: www.user.dept.university.edu
(Note:user names, accounts, organizations etc. sanitized)

why Apache will serve PHP-based web pages over port 80 but not over 443. Here is the virtual host block excerpt from httpd.conf:

Code:
<VirtualHost *:80>
ServerName user.dept.univsersity.edu
ServerAlias user
DocumentRoot /home/user/public_html/subdirectory
<IfModule mod_fcgid.c>

[Code] .....

View 4 Replies View Related

Apache :: Setting Up Domains And Subdomains - Virtual Host

May 31, 2014

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.

Domains:

<virtualhost *:80>
ServerAdmin mail@mail.mail
ServerName domain.com
ServerAlias www.domain.com

[Code] ....

Why it works on domains, and not the subdomains?

View 1 Replies View Related

Apache 2, CPanel, Web Accessible Subversion

Feb 1, 2008

I've got subversion installed on my server, and have been using it without issue via the svn+ssh protocol for a long time now. However, I'm now ready to make it so that I can go to, for example:

[url]

and browse my branches via my browser. How difficult is this to actually set up? I managed to install and set up subversion without breaking anything, so I'm hoping I can do this as well.

I know that I need mod_dav_svn compiled into apache, but beyond that I'm lost. I would also like to switch from the svn+ssh protocol and simply use the svn protocol to access my repo. From what I understand, after I get mod_dav_svn set up and working, I can add users to the project configuration files and use those user names to log in using the svn protocol, is that right?

View 3 Replies View Related

Apache :: Access Denied When Accessing New Virtual Host Site

Apr 28, 2015

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

View 1 Replies View Related

Apache :: Setup Virtual Host On Windows 7 Home Premium

Jan 2, 2014

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

127.0.0.1 localhost
127.0.0.1 localhost
198.0.65.217 talknowradio.com # www
198.0.65.217 paranormalpalaceradio.comcastbiz.net # vhost

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>

[code]...

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 198.0.65.217] 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.

View 16 Replies View Related

Apache :: Multiple Virtual Host On RP Doesn't Send The Right Certificate

Jul 16, 2014

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.

Here is my virtual host :

<VirtualHost *:443>
ServerName hygie.sante-idf.fr
SSLEngine on
SSLProtocol all
SSLCertificateFile "/root/apacherp/cert/hygiesslcertificate.cert"
SSLCACertificateFile "/root/apacherp/cert/hygieCAcertificate.cert"
SSLCertificateKeyFile "/root/apacherp/cert/hygieprivate.cert"
ProxyPass / http://XXXXXX/
ProxyPassReverse / http://XXXXXX/
</VirtualHost>

Everything is fine when I start stop, I m sure the entry is used I have added : NameVirtualHost *:443

But the Certificate information arent the one that I have enterred , but the default values I think....

httpd -v
Server version: Apache/2.2.3
Server built: Mar 4 2010 09:57:54

View 7 Replies View Related

Apache :: Setup Subdomain / Virtual Host To Redirect To Specific Port And Path

Mar 13, 2013

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)

View 1 Replies View Related

Apache :: Unable To Setup Subdomain And Virtual Host To Redirect To Port And Path

Mar 12, 2013

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)

View 1 Replies View Related

How To Configure Apache Logs For Virtual Host (copy Log File To Homedir Of User )

Jul 19, 2014

I'm trying to configure Apache logs to split logs files for every virtual host on the server

for example: {site1 .com} => copy access_log to /home/site1/public_html/logs {site2 .com} => copy access_log to /home/site2/public_html/logs .. {site3 .com} => copy access_log to /home/site3/public_html/logs

i want to also to make sure is the logs files updated in the real time

operating system is CentOs6, with Apache and cPanel

View 1 Replies View Related

Apache :: How To Use Virtual Host IP Address In Request To Remote Address

Feb 6, 2015

My customer has an external facing Apache server that is acting as a reverse proxy to two internal applications. They have:

- external addresses for each app which resolve to different ip addresses, so app1.their_domain.com and app2.their_domain.com resolve to 77.3.170.10 and 77.3.170.11 respectively.
- the Apache server has two network interfaces with ip addresses 192.168.10.10 and 192.168.10.11
- the external ip addresses resolve to the above internal addresses
- the firewall between the Apache server and the internal app servers is configured to allow traffic from 192.168.10.10 to reach app_server1, and traffic from 192.168.10.11 to reach app_server2, both using port 7777.

I have configured a virtual host in httpd.conf for each ip, i.e.

Code:

<VirtualHost 192.168.10.10:80>
...
ProxyPass /app http://app_server1:7777/app
ProxyPassReverse /app http://app_server1:7777/app
RewriteRule ^/$ /app/app1 [R,L]
...
<VirtualHost>

and

Code:

<VirtualHost 192.168.10.11:80>
...
ProxyPass /app http://app_server2:7777/app
ProxyPassReverse /app http://app_server2:7777/app
RewriteRule ^/$ /app/app2 [R,L]
...
<VirtualHost>

This works fine in that the external address are being routed to the correct application, however the firewall is blocking requests to the second app as it appears the requests are coming from the Apache servers 'primary' ip address 192.168.10.10 instead of 192.168.10.11.

Is it possible to send requests using the ip address from the relevant VirtualHost?

Windows server 2008
Apache 2.2

View 1 Replies View Related

Does Any Host Have VPS's Running Ubuntu

Jul 25, 2008

Does any host have VPS's running Ubuntu?

View 14 Replies View Related

Ubuntu + Apache 2.0 + PHP 5.2.1 - Cannot Use Dynamic Extensions (e.g. Pdo.so)

Mar 6, 2007

I'm trying to compile PHP 5.2.1 on my Ubuntu 6.10 server. I've downloaded the source code from php.net and am running the following configure command on it:

Code:
./configure --with-apxs2=/usr/bin/apxs2 --with-mysql --with-informix=/opt/informix --enable-shared --enable-pdo=shared --without-sqlite --without-pdo-sqlite --with-pdo-mysql=shared --with-zlib --with-xml --with-pdo-informix=shared,/opt/informix
After doing this, then make, I copy over the generated libphp5.so file into my Apache extensions directory, add extension=pdo.so (and lines for the PDO-MySQL/Informix extensions) into my php.ini and restart Apache. I would expect to see PDO, PDO-MySQL and PDO-Informix listed in my phpinfo() - but they don't appear.

So, I tried recompiling PHP but without any of the PDO extensions being shared. This worked, and I could see PDO and PDO-MySQL in phpinfo(), but not PDO-Informix.

So, can anyone hazard a guess as to why none of the PDO extensions load when compiled shared? I don't get any related error messages in the Apache or System logs by the way....

View 0 Replies View Related

Unable To Compile Apache Under Ubuntu

Jan 4, 2007

A little background on what I'm doing here...

I'm setting up a Linux machine specifically for use as a VNC here at work.

The IT Manager said he'd used Ubuntu before but left the distro up to me.

I set up my test machine with Ubuntu but need to compile Apache for portions of it to work. I've never had any problems building Apache before, but this is what I'm getting here. I have a feeling that, since I've not used Ubuntu before, that I'm just missing a step. I also noticed that the "make" command doesn't work. Does that need to be installed and compiled as well?

=========================================
root@vnc01:/etc/httpd-2.2.3# ./configure /usr/local/apache
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: /usr/local/apache
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... /usr/local/apache
checking host system type... /usr/local/apache
checking target system type... /usr/local/apache

Configuring Apache Portable Runtime library ...

checking for APR... reconfig
configuring package in srclib/apr now
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: /usr/local/apache
checking build system type... /usr/local/apache
checking host system type... /usr/local/apache
checking target system type... /usr/local/apache
Configuring APR library
Platform: /usr/local/apache
checking for working mkdir -p... yes
APR Version: 1.2.7
checking for chosen layout... apr
checking for /usr/local/apache-gcc... no
checking for gcc... no
checking for /usr/local/apache-cc... no
checking for cc... no
checking for cc... no
checking for /usr/local/apache-cl... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
configure failed for srclib/apr
root@vnc01:/etc/httpd-2.2.3#

The config.log file doesn't honestly show any errors that I can see pertaining to any compile errors.

View 5 Replies View Related

Apache :: How To Start And Stop On Ubuntu

Sep 27, 2013

I have installed Apache on ubuntu as per our project related manual by using the packages.

httpd-2.4.4.tar.gz
apr-1.4.6.tar.gz
apr-util-1.5.2.tar.gz

I copied apr-1.4.6 apr-util-1.5.2 (after extract) to srclib directory of apr-util-1.5.2

and created symbolic links as below

ln _s apr-1.4.6 apr
ln _s apr-util-1.5.2 apr-util

and configured httpd-2.4.4 with
./configure --with-included-apr

and make ; make install;

now my apache is running , but how to stop and start the apache.

I googled for reference and found it can be done using

sudo /etc/init.d/apache2 stop
sudo /etc/init.d/apache2 start

I dont have apache2 in my /etc/init.d folder.

how to start and stop.

View 1 Replies View Related

Apache :: Redirect Website To Ubuntu Machine

Aug 10, 2010

I have build windows xp machine. This machine is running OTRS ticket system. All of our users login using [URL] .... and agent can login with [URL] ....

I have also build ubuntu 9.10 machine and installed OTRS ticket system. I like redirect the [URL] ..... in windows xp to Ubuntu 9.10 with [URL] ....

I searched httpd.conf file and tried to change virtual host but it did not worked.

View 3 Replies View Related







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