|
|
|
|
|
|
| Author |
Message |
Ashutosh Mohanty *nix forums beginner
Joined: 12 Jul 2006
Posts: 22
|
Posted: Fri Jul 14, 2006 12:32 pm Post subject:
Re: Virtual host
|
|
|
thanks Boyel/Everybody, it seem to be working now,
when I changed
from
Allow from 192.168 127.0.0.1
to
Allow from all
but the thing is i am working from 192.168 subnet, and i want to give
restriction to ouside subnet users,
| Quote: | What is "it"? The browser or the error_log?
|
"it ":: The browser
| Quote: | Is the "this" in the message you quote an edit by you? Did it previously
ahve the servername?
|
"this": the m/c's FQDN
Ashutosh
----- Original Message -----
From: "Boyle Owen" <Owen.Boyle@swx.com>
To: <users@httpd.apache.org>
Sent: Friday, July 14, 2006 5:38 PM
Subject: RE: [users@httpd] Virtual host
| Quote: | -----Original Message-----
From: Ashutosh Mohanty [mailto:ashutoshinbox@gmail.com]
Sent: Friday, July 14, 2006 1:24 PM
To: Users@Httpd.Apache.Org
Subject: [users@httpd] Virtual host
Hi,
the following is my virtual host setting for our companies internal
webserver,is their anything worng,because in web browser when
ever i try to
access it s saying "you have no permmision to access this on port 80"
|
What is "it"? The browser or the error_log?
Is the "this" in the message you quote an edit by you? Did it previously
ahve the servername?
Based on the limited, edited information you provided, I would take a
wild guess that it is your directives:
| Quote: | Order allow,deny
Allow from 192.168 127.0.0.1
|
that are the problem. Read the docs to understand what these do:
http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html
Maybe you are trying to access from a network that does not start with
192.168?
If that doesn't fix it, post back:
- the URL you hot the server on
- full browser error message (switch off "friendly errors")
- the error_log message
Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.
PS - apache version and OS would be interesting too...
| Quote: |
VirtualHost *
ServerAdmin ashutosh@mydomain.com
DocumentRoot /home/ashutosh/html
ServerName abc.mydomain.com
ServerAlias abc
ErrorLog /home/ashutosh/logs/error_log
CustomLog /home/ashutosh/logs/access_log common
Directory "/home/ashutosh//html"
Options Indexes FollowSymLinks
AllowOverride None
/Directory
IfModule mod_mime.c
AddType text/html .html .htm
AddType application/x-httpd-php .html .htm .php4 .php
/IfModule
/VirtualHost
Is there any suggestion anybody want to give ? thanks
Ashutosh
|
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission. If
you receive this message in error, please notify the sender urgently and
then immediately delete the message and any copies of it from your system.
Please also immediately destroy any hardcopies of the message. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part
of this message if you are not the intended recipient. The sender's company
reserves the right to monitor all e-mail communications through their
networks. Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorised to state them to be the views of the sender's company.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org |
|
| Back to top |
|
 |
Boyle Owen *nix forums Guru
Joined: 07 Feb 2005
Posts: 618
|
Posted: Fri Jul 14, 2006 12:32 pm Post subject:
RE: Virtual host
|
|
|
| Quote: | -----Original Message-----
From: Ashutosh Mohanty [mailto:ashutoshinbox@gmail.com]
Sent: Friday, July 14, 2006 2:24 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Virtual host
thanks Boyel/Everybody, it seem to be working now,
|
There was actually nothing "wrong" - apache was doing exactly what you
told it to ("deny access from all except localhost and 192.168" - you
came in from a network outside of 192.168 and so were denied).
| Quote: | when I changed
from
Allow from 192.168 127.0.0.1
to
Allow from all
but the thing is i am working from 192.168 subnet,
|
Are you sure? Apache thinks not... check the client-IP in the server
access log. It looks like you are coming in from a different network,
even though you think its a local private network (192.168.).
| Quote: | and i want to give
restriction to ouside subnet users,
|
Then your original config was correct - I think the problem is that your
browser is not where you think it is...
Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.
| Quote: |
What is "it"? The browser or the error_log?
"it ":: The browser
Is the "this" in the message you quote an edit by you? Did
it previously
ahve the servername?
"this": the m/c's FQDN
Ashutosh
----- Original Message -----
From: "Boyle Owen" <Owen.Boyle@swx.com
To: <users@httpd.apache.org
Sent: Friday, July 14, 2006 5:38 PM
Subject: RE: [users@httpd] Virtual host
-----Original Message-----
From: Ashutosh Mohanty [mailto:ashutoshinbox@gmail.com]
Sent: Friday, July 14, 2006 1:24 PM
To: Users@Httpd.Apache.Org
Subject: [users@httpd] Virtual host
Hi,
the following is my virtual host setting for our companies internal
webserver,is their anything worng,because in web browser when
ever i try to
access it s saying "you have no permmision to access this
on port 80"
What is "it"? The browser or the error_log?
Is the "this" in the message you quote an edit by you? Did it
previously
ahve the servername?
Based on the limited, edited information you provided, I would take a
wild guess that it is your directives:
Order allow,deny
Allow from 192.168 127.0.0.1
that are the problem. Read the docs to understand what these do:
http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html
Maybe you are trying to access from a network that does not start with
192.168?
If that doesn't fix it, post back:
- the URL you hot the server on
- full browser error message (switch off "friendly errors")
- the error_log message
Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.
PS - apache version and OS would be interesting too...
VirtualHost *
ServerAdmin ashutosh@mydomain.com
DocumentRoot /home/ashutosh/html
ServerName abc.mydomain.com
ServerAlias abc
ErrorLog /home/ashutosh/logs/error_log
CustomLog /home/ashutosh/logs/access_log common
Directory "/home/ashutosh//html"
Options Indexes FollowSymLinks
AllowOverride None
/Directory
IfModule mod_mime.c
AddType text/html .html .htm
AddType application/x-httpd-php .html .htm .php4 .php
/IfModule
/VirtualHost
Is there any suggestion anybody want to give ? thanks
Ashutosh
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any
mistransmission. If
you receive this message in error, please notify the sender
urgently and
then immediately delete the message and any copies of it from
your system.
Please also immediately destroy any hardcopies of the
message. You must not,
directly or indirectly, use, disclose, distribute, print, or
copy any part
of this message if you are not the intended recipient. The
sender's company
reserves the right to monitor all e-mail communications through their
networks. Any views expressed in this message are those of
the individual
sender, except where the message states otherwise and the sender is
authorised to state them to be the views of the sender's company.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP
Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP
Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
|
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org |
|
| Back to top |
|
 |
Boyle Owen *nix forums Guru
Joined: 07 Feb 2005
Posts: 618
|
Posted: Fri Jul 14, 2006 12:08 pm Post subject:
RE: Virtual host
|
|
|
| Quote: | -----Original Message-----
From: Ashutosh Mohanty [mailto:ashutoshinbox@gmail.com]
Sent: Friday, July 14, 2006 1:24 PM
To: Users@Httpd.Apache.Org
Subject: [users@httpd] Virtual host
Hi,
the following is my virtual host setting for our companies internal
webserver,is their anything worng,because in web browser when
ever i try to
access it s saying "you have no permmision to access this on port 80"
|
What is "it"? The browser or the error_log?
Is the "this" in the message you quote an edit by you? Did it previously
ahve the servername?
Based on the limited, edited information you provided, I would take a
wild guess that it is your directives:
| Quote: | Order allow,deny
Allow from 192.168 127.0.0.1
|
that are the problem. Read the docs to understand what these do:
http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html
Maybe you are trying to access from a network that does not start with
192.168?
If that doesn't fix it, post back:
- the URL you hot the server on
- full browser error message (switch off "friendly errors")
- the error_log message
Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.
PS - apache version and OS would be interesting too...
| Quote: |
VirtualHost *
ServerAdmin ashutosh@mydomain.com
DocumentRoot /home/ashutosh/html
ServerName abc.mydomain.com
ServerAlias abc
ErrorLog /home/ashutosh/logs/error_log
CustomLog /home/ashutosh/logs/access_log common
Directory "/home/ashutosh//html"
Options Indexes FollowSymLinks
AllowOverride None
/Directory
IfModule mod_mime.c
AddType text/html .html .htm
AddType application/x-httpd-php .html .htm .php4 .php
/IfModule
/VirtualHost
Is there any suggestion anybody want to give ? thanks
Ashutosh
|
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org |
|
| Back to top |
|
 |
Ravish Agarwal *nix forums beginner
Joined: 06 Jul 2006
Posts: 6
|
Posted: Fri Jul 14, 2006 11:32 am Post subject:
RE: Virtual host
|
|
|
I think you cant access the HHTP server on a port less than 1023 if you
are not root user. If you change the port of the apache than it should
work
________________________________
From: Ashutosh Mohanty [mailto:ashutoshinbox@gmail.com]
Sent: Friday, July 14, 2006 4:54 PM
To: Users@Httpd.Apache.Org
Subject: [users@httpd] Virtual host
Hi,
the following is my virtual host setting for our companies internal
webserver,is their anything worng,because in web browser when ever i try
to
access it s saying "you have no permmision to access this on port 80"
<VirtualHost *>
ServerAdmin ashutosh@mydomain.com
DocumentRoot /home/ashutosh/html
ServerName abc.mydomain.com
ServerAlias abc
ErrorLog /home/ashutosh/logs/error_log
CustomLog /home/ashutosh/logs/access_log common
<Directory "/home/ashutosh//html">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from 192.168 127.0.0.1
</Directory>
<IfModule mod_mime.c>
AddType text/html .html .htm
AddType application/x-httpd-php .html .htm .php4 .php
</IfModule>
</VirtualHost>
Is there any suggestion anybody want to give ? thanks
Ashutosh
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS*** |
|
| Back to top |
|
 |
Arturo Ignacio Partarrieu *nix forums beginner
Joined: 07 Feb 2006
Posts: 6
|
Posted: Wed Feb 15, 2006 12:03 am Post subject:
Re: Virtual host
|
|
|
you can visit these sites
http://httpd.apache.org/docs/2.0/vhosts/examples.html
http://httpd.apache.org/docs/1.3/vhosts/examples.html
then you may need to choice for a name based virtual host, or an IP based
one.
If you are running apache under Linux, you may visit these sites
http://www.debianhelp.co.uk/virtualhosts.htm
http://freebsd.peon.net/tutorials/6/
http://www.debianhelp.co.uk/webserver.htm
Good luck!!
===============================================On 2/1/06, info. raa <info@raa.adv.br> wrote:
| Quote: |
Hi guys!
I have no clue about BIND, so the easy way to start was relying on IP
to rise my first site.
I have used my own ip/adpter, now i need to build another site within
my apache 2.0.52 on the same machine.
i have tried another IP but the result you can imagine...
How do i do it?
Do i have to edit BIND? and use names instead? like www.mysite1.com,
www.mysite2.com and so on?
I'm on an OSX 10.3
I would really apreciate for the help.
Thanks,
Kbl
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project..
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
|
|
|
| Back to top |
|
 |
Boyle Owen *nix forums Guru
Joined: 07 Feb 2005
Posts: 618
|
Posted: Thu Feb 02, 2006 2:55 pm Post subject:
RE: Virtual host
|
|
|
| Quote: | -----Original Message-----
From: info.raa [mailto:info@raa.adv.br]
Sent: Donnerstag, 2. Februar 2006 14:59
To: Apache List
Subject: [users@httpd] Virtual host
Once more list, there is anybody there could help me? or tell
me where can i find these answer?
|
http://httpd.apache.org/docs/2.0/vhosts/name-based.html
| Quote: |
Thanks.
Kbl
Begin forwarded message:
From: info.raa <info@raa.adv.br
Date: 01 de February de 2006 10:30:55 AM GMT-02:00
To: Apache List <users@httpd.apache.org
Subject: Virtual host
Hi guys!
I have no clue about BIND, so the easy way to start was
relying on IP to rise my first site.
I have used my own ip/adpter, now i need to build
another site within my apache 2.0.52 on the same machine.
i have tried another IP but the result you can imagine...
How do i do it?
Do i have to edit BIND? and use names instead? like
www.mysite1.com, www.mysite2.com and so on?
I'm on an OSX 10.3
I would really apreciate for the help.
Thanks,
Kbl
|
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org |
|
| Back to top |
|
 |
info.raa *nix forums beginner
Joined: 19 Jan 2006
Posts: 10
|
Posted: Wed Feb 01, 2006 12:30 pm Post subject:
Virtual host
|
|
|
Hi guys!
I have no clue about BIND, so the easy way to start was relying on IP
to rise my first site.
I have used my own ip/adpter, now i need to build another site within
my apache 2.0.52 on the same machine.
i have tried another IP but the result you can imagine...
How do i do it?
Do i have to edit BIND? and use names instead? like www.mysite1.com,
www.mysite2.com and so on?
I'm on an OSX 10.3
I would really apreciate for the help.
Thanks,
Kbl
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Thu Jan 08, 2009 11:54 am | All times are GMT
|
|
Myspace Proxy | Directory of Directories | Bankruptcy Certification | Online College Degrees | Bankruptcy
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|