Re: [EMAIL PROTECTED] DocumentRoot cannot be domain protected?

2008-01-18 Thread Krist van Besien
On Jan 17, 2008 8:42 PM, Liz Kim [EMAIL PROTECTED] wrote: Is there a special way of domain/IP protecting the DocumentRoot directory? All I am trying to do is: order allow,deny allow from all deny from MY_IP_ADDRESS_HERE When this is put under any other directory, it successfully denies me

[EMAIL PROTECTED] DocumentRoot cannot be domain protected?

2008-01-17 Thread Liz Kim
Is there a special way of domain/IP protecting the DocumentRoot directory? All I am trying to do is: order allow,deny allow from all deny from MY_IP_ADDRESS_HERE When this is put under any other directory, it successfully denies me access. However, when it's is put under the DocumentRoot

Re: [EMAIL PROTECTED] DocumentRoot - Apache2 - Ubuntu

2007-05-23 Thread Krist van Besien
On 5/22/07, Tim Johnson [EMAIL PROTECTED] wrote: On Tuesday 22 May 2007 11:06, Krist van Besien wrote: What I've done on my personal server (which also runs Ubuntu Linux) is to have a seperate config file for each virtual server in sites-available. In sites-enabled I've then made links to

Re: [EMAIL PROTECTED] DocumentRoot - Apache2 - Ubuntu

2007-05-23 Thread Tim Johnson
On Wednesday 23 May 2007 12:03, Krist van Besien wrote: What I did is put every virtualhost block in its own config file. In these config files I configured for every virtual host where the docroot is, where it has to log etc... All these config files are under sites_available, and

Re: [EMAIL PROTECTED] DocumentRoot - Apache2 - Ubuntu

2007-05-22 Thread Norman Peelman
Tim Johnson wrote: On Tuesday 22 May 2007 02:05, Stephen wrote: snip I don't see a `DocumentRoot' variable in the apache2 httpd.conf. Can I add that variable and will it have the same effect . Hi Stephen: Look at some of the nested/included *.conf files. There is no

Re: [EMAIL PROTECTED] DocumentRoot - Apache2 - Ubuntu

2007-05-22 Thread Krist van Besien
Line 5 of /etc/apache2/sites-enabled/000-default. looks like this: DocumentRoot /var/www/ Is that what you are referring to? Ubuntu stores website config ins /etc/apache2/sites-available. To change the default host edit /etc/apache2/sites-available/000-default. In

Re: [EMAIL PROTECTED] DocumentRoot - Apache2 - Ubuntu

2007-05-22 Thread Tim Johnson
On Tuesday 22 May 2007 11:06, Krist van Besien wrote: Line 5 of /etc/apache2/sites-enabled/000-default. looks like this: DocumentRoot /var/www/ Is that what you are referring to? Ubuntu stores website config ins /etc/apache2/sites-available. To change the default host edit

[EMAIL PROTECTED] DocumentRoot - Apache2 - Ubuntu

2007-05-21 Thread Tim Johnson
Hello: Using apache2 on kubuntu 7.04 (amd_64) On my older machine, which is slack 10.0, and (I think) apache 1.3.32, httpd.conf contains a DocumentRoot variable which can override the apache default document path. I don't see a `DocumentRoot' variable in the apache2 httpd.conf. Can I add that

Re: [EMAIL PROTECTED] DocumentRoot - Apache2 - Ubuntu

2007-05-21 Thread Stephen
Tim Johnson wrote: Hello: Using apache2 on kubuntu 7.04 (amd_64) On my older machine, which is slack 10.0, and (I think) apache 1.3.32, httpd.conf contains a DocumentRoot variable which can override the apache default document path. I don't see a `DocumentRoot' variable in the apache2

[EMAIL PROTECTED] DocumentRoot and UserDir conflict?

2007-03-05 Thread John Turner
Hello - I'm using Apache 2.0.47. Due to site admin policies, I have limited control of Apache's configuration, but am allowed to supplement/override global config statements with the use of an Include in httpd.conf. I have a lot of Apache experience, but it is mostly virtual hosting and mod_jk

Re: [EMAIL PROTECTED] DocumentRoot

2006-06-18 Thread Ivan Levchenko
I'm very sorry for the mistake. (I was just tired). The paths are ok. I got three of my sysadmin friends helping me on this, but all of them said that they don't know why its not working. i am using the latest ports. Where can I look to find the reason of this? On 6/16/06, Rainer Sokoll [EMAIL

Re: [EMAIL PROTECTED] DocumentRoot

2006-06-18 Thread Joshua Slive
On 6/18/06, Ivan Levchenko [EMAIL PROTECTED] wrote: I'm very sorry for the mistake. (I was just tired). The paths are ok. I got three of my sysadmin friends helping me on this, but all of them said that they don't know why its not working. i am using the latest ports. Where can I look to find

[EMAIL PROTECTED] DocumentRoot

2006-06-16 Thread Ivan Levchenko
149 of /usr/local/etc/apache22/httpd.conf: DocumentRoot must be a directory The had the following enabled in /usr/local/etc/apache22/extra/httpd-vhosts.conf , even after I commented it out, it still didn't work: #VirtualHost *:80 #ServerAdmin [EMAIL PROTECTED] #DocumentRoot /www/docs/dummy

Re: [EMAIL PROTECTED] DocumentRoot

2006-06-16 Thread Rainer Sokoll
On Fri, Jun 16, 2006 at 09:24:51PM +0300, Ivan Levchenko wrote: Hello all, I just installed appache 2.2.2 on FreeBSD 6.1 by going into /usr/ports/www/apache22/ and doing make install clean. Everything works ok. I see my pages in the browser. By default, it loads pages from

RE: [EMAIL PROTECTED] Documentroot does not redirect...

2006-04-18 Thread Boyle Owen
-Original Message- From: Mark Van Crombrugge [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 13. April 2006 16:13 To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] Documentroot does not redirect... In the HTTPD.conf, the directive 'DocumentRoot' is with the right uppercases

RE: [EMAIL PROTECTED] Documentroot does not redirect...

2006-04-18 Thread Mark Van Crombrugge
PROTECTED] Documentroot does not redirect... -Original Message- From: Mark Van Crombrugge [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 13. April 2006 16:13 To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] Documentroot does not redirect... In the HTTPD.conf, the directive

Re: [EMAIL PROTECTED] Documentroot does not redirect...

2006-04-16 Thread Krist van Besien
On 4/13/06, Mark Van Crombrugge [EMAIL PROTECTED] wrote: Here is my HTTPD.CONF file, the VirtualHost is at the bottom. (www.testsite.org) Could you send us the output of apachectl -S? What happens when you change VirtualHost * in to VirtualHost *:80 for your first virtual host? How do you

RE: [EMAIL PROTECTED] Documentroot does not redirect...

2006-04-14 Thread Axel-Stéphane SMORGRAV
: Victor Trac [mailto:[EMAIL PROTECTED] Sent: Thursday, April 13, 2006 5:23 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Documentroot does not redirect... For name based hosting you have to define at least one IP and port using NameVirtualHost. So change NameVirtualHost *:80

[EMAIL PROTECTED] Documentroot does not redirect...

2006-04-13 Thread Mark Van Crombrugge
When I putthe file "index.htm" in my DocumentRoot (/var/www/html) it displays in my browser. When I put that file in "/var/www/html/website" and add the following to httpd.conf: NameVirtualHost *:80 Virtualhost *:80 Documentroot /var/www/html/website ServerName www.website.org

RE: [EMAIL PROTECTED] Documentroot does not redirect...

2006-04-13 Thread Axel-Stéphane SMORGRAV
From: Mark Van Crombrugge [mailto:[EMAIL PROTECTED] Sent: Thursday, April 13, 2006 12:20 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Documentroot does not redirect... When I put the file index.htm in my DocumentRoot (/var/www/html) it displays in my browser. When I put

RE: [EMAIL PROTECTED] Documentroot does not redirect...

2006-04-13 Thread Boyle Owen
-Original Message- From: Mark Van Crombrugge [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 13. April 2006 12:20 To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Documentroot does not redirect... When I put the file index.htm in my DocumentRoot (/var/www/html) it displays

Re: [EMAIL PROTECTED] Documentroot does not redirect...

2006-04-13 Thread William A. Rowe, Jr.
Boyle Owen wrote: From: Mark Van Crombrugge [mailto:[EMAIL PROTECTED] Documentroot /var/www/html/website First, spell the directive correctly... ie, DocumentRoot. FWIW - the directive itself is case-insensitive, as are -most- arguments other than path/resource names

RE: [EMAIL PROTECTED] Documentroot does not redirect...

2006-04-13 Thread Mark Van Crombrugge
: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for requests without a known # server name. # #VirtualHost * #ServerAdmin [EMAIL PROTECTED] #DocumentRoot /www/docs/dummy-host.example.com #ServerName dummy-host.example.com

RE: [EMAIL PROTECTED] Documentroot does not redirect...

2006-04-13 Thread Axel-Stéphane SMORGRAV
This is not a _minimal_ configuration. -ascs -Original Message- From: Mark Van Crombrugge [mailto:[EMAIL PROTECTED] Sent: Thursday, April 13, 2006 4:25 PM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] Documentroot does not redirect... Here is my HTTPD.CONF file

Re: [EMAIL PROTECTED] Documentroot does not redirect...

2006-04-13 Thread Jerry McAllister
may go into a VirtualHost container. # The first VirtualHost section is used for requests without a known # server name. # #VirtualHost * #ServerAdmin [EMAIL PROTECTED] #DocumentRoot /www/docs/dummy-host.example.com #ServerName dummy-host.example.com #ErrorLog logs/dummy

Re: [EMAIL PROTECTED] Documentroot does not redirect...

2006-04-13 Thread The Alliett's
a known # server name. # #VirtualHost * #ServerAdmin [EMAIL PROTECTED] #DocumentRoot /www/docs/dummy-host.example.com #ServerName dummy-host.example.com #ErrorLog logs/dummy-host.example.com-error_log #CustomLog logs/dummy-host.example.com-access_log common #/VirtualHost #attempt

RE: [EMAIL PROTECTED] Documentroot does not redirect...

2006-04-13 Thread Axel-Stéphane SMORGRAV
/www/html/testsite /VirtualHost -Original Message- From: Mark Van Crombrugge [mailto:[EMAIL PROTECTED] Sent: Thursday, April 13, 2006 4:25 PM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] Documentroot does not redirect... Here is my HTTPD.CONF file, the VirtualHost

Re: [EMAIL PROTECTED] DocumentRoot problem

2006-03-13 Thread Dotan Cohen
On 3/6/06, Boyle Owen [EMAIL PROTECTED] wrote: All you do to change the docroot is edit the argument to the DocumentRoot directive and then restart the server. Yes, I changed this: ServerRoot /etc/apache2 to this: ServerRoot /home/dotancohen/www/public_html Of course, you have to do this in

RE: [EMAIL PROTECTED] DocumentRoot problem

2006-03-13 Thread Boyle Owen
-Original Message- From: Dotan Cohen [mailto:[EMAIL PROTECTED] Sent: Montag, 13. März 2006 09:11 To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] DocumentRoot problem On 3/6/06, Boyle Owen [EMAIL PROTECTED] wrote: All you do to change the docroot is edit the argument

Re: [EMAIL PROTECTED] DocumentRoot problem

2006-03-13 Thread Dotan Cohen
On 3/13/06, Boyle Owen [EMAIL PROTECTED] wrote: -Original Message- From: Dotan Cohen [mailto:[EMAIL PROTECTED] Sent: Montag, 13. März 2006 09:11 To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] DocumentRoot problem On 3/6/06, Boyle Owen [EMAIL PROTECTED] wrote

RE: [EMAIL PROTECTED] DocumentRoot problem

2006-03-13 Thread Boyle Owen
-Original Message- From: Dotan Cohen [mailto:[EMAIL PROTECTED] Oops, thanks. So, where _is_ the DocumentRoot stored?!? It is not in that file! Where else can I look? [EMAIL PROTECTED]:~# cat /etc/apache2/apache2.conf | grep DocumentRoot [EMAIL PROTECTED]:~# Docs...

Re: [EMAIL PROTECTED] DocumentRoot problem

2006-03-13 Thread Dotan Cohen
On 3/13/06, Boyle Owen [EMAIL PROTECTED] wrote: -Original Message- From: Dotan Cohen [mailto:[EMAIL PROTECTED] Oops, thanks. So, where _is_ the DocumentRoot stored?!? It is not in that file! Where else can I look? [EMAIL PROTECTED]:~# cat /etc/apache2/apache2.conf | grep

RE: [EMAIL PROTECTED] DocumentRoot problem

2006-03-13 Thread Boyle Owen
-Original Message- From: Dotan Cohen [mailto:[EMAIL PROTECTED] Well, I put the ServerRoot back where it was and added the DocumentRoot, tryin both of these: DocumentRoot /home/dotancohen/www/public_html DocumentRoot /home/dotancohen/www/public_html But after restarting the

RE: [EMAIL PROTECTED] DocumentRoot problem

2006-03-13 Thread Boyle Owen
-Original Message- From: Dotan Cohen [mailto:[EMAIL PROTECTED] apache2/sites-available/default:DocumentRoot /var/www/ apache2/sites-available/default:Directory /var/www/ apache2/sites-enabled/000-default: DocumentRoot /var/www/ apache2/sites-enabled/000-default:

RE: [EMAIL PROTECTED] DocumentRoot problem

2006-03-06 Thread Boyle Owen
-Original Message- From: Dotan Cohen [mailto:[EMAIL PROTECTED] Sent: Freitag, 3. März 2006 17:21 To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] DocumentRoot problem I notice that /etc/apache2/apache2.conf contains these lines: # Include all the user configurations

RE: [EMAIL PROTECTED] DocumentRoot problem

2006-03-03 Thread Boyle Owen
-Original Message- From: Dotan Cohen [mailto:[EMAIL PROTECTED] Sent: Freitag, 3. März 2006 14:30 To: users@httpd.apache.org Subject: [EMAIL PROTECTED] DocumentRoot problem I seem to have both Apache and Apache2 installed on my Kubuntu 5.10 system: [EMAIL PROTECTED]:/etc/apache

Re: [EMAIL PROTECTED] DocumentRoot problem

2006-03-03 Thread Dotan Cohen
On 3/3/06, Boyle Owen [EMAIL PROTECTED] wrote: You're doing the right thing - you must simply be editing the wrong config file (this is a likely problem if you have several installs and are not sure which one is running). If you do ps -ef you should see the full path to httpd (eg

Re: [EMAIL PROTECTED] DocumentRoot for Name-based Virtual Host

2005-09-14 Thread Joshua Slive
On 9/14/05, matt-nc [EMAIL PROTECTED] wrote: I've created a name-based virtual host in Apache 2.0.54 and am trying to get it to serve docs out of a directory under /home instead of the default directory for localhost: /var/www/html. I put the following in httpd.conf: NameVirtualHost *:80

Re: [EMAIL PROTECTED] DocumentRoot for Name-based Virtual Host

2005-09-14 Thread matt-nc
At 01:23 PM 9/14/05 -0400, you wrote: I put the following in httpd.conf: NameVirtualHost *:80 VirtualHost *:80 DocumentRoot /home/amos/local-web/php ServerName php-web /VirtualHost then I added the following to the hosts file: 127.0.0.1 php-web I created a