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
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
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
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
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
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
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
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
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
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
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
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
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
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
-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
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
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
: 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
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
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
-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
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
:
# 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
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
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
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
/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
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
-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
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
-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...
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
-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
-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:
-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
-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
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
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
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
39 matches
Mail list logo