Java Mailing List Archive

http://www.junlu.com/

Subjects
Home
mod jk2 https
Donation of JAXP 1 3 Sources to Apache
R annoyances
RE: Finding out when the aspnet admin worker process has recycled
Favorite Linux Distribution
eigenvalues of a circulant matrix
Apache Install
Reachin apache from outside
Ant should have an ext directory
Warning: Documentroot doesn 't exist
Can this be Done?
RE: Multilanguage Application
RE: Simple Question On setting up Sub Domain site
Lack of independence in anova()
How to close connection instead of sending 403?
winning the case for ANT
Re: adding php
New Ant GUI 'Ant 's Nest '
Narrowing Down A Strange Problem
Ant Task: sshexec
R Graph Gallery : categorization of the graphs
I 've been hacked, I need some help please
RE: Anyone working with DotNetNuke?
RE: Exception Handling Opinion
hex format
RE: IIS stopped working :(
<for > Build Failed:problem
RE: Separation of Objects from Logic
RE: Tracking pages with long request execution time
sending email to multiple destination
Web Site
ant UI
Easy cut & paste from Excel to R?
Win32 Apache Restart
Improving Tasks
HELP! PLEASE!
RE: Adding Controls to a Page
read table
RE: ASPNET account doesn 't exist!
Best way to uninstall Apache2 on red hat
from win to linux how to web page
XMLParseException changes and creation of XMLLocator2
Re Post: rewrite backslash to forward slash
Target or macrodef?
Page display problem XPSP2
Authentication problems
Dynamic Dictionary Data Type?
Newbie unable access my www from outside
off topic question: Latex and R in industries
Conflict between xtable and Hmisc when using Sweave?
Very old problem without any new solution
mod rewrite help
Basic Authentication question
RE: Code Security
calling ant from java program
prevent double signing
Re: Controlling Copy/Paste/Print
Using R to illustrate the Central Limit Theorem
web server slow too much slow
access to user directories
Links
Home
Official R Project Site
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Can this be Done?

Can this be Done?

2005-05-03       - By dan
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

NetSuporte wrote:
> dan wrote:
>
>> NetSuporte wrote:
>>
>>> First I am new to Apache but not to Linux. I have Apache2 up and
>>> running fresh from an install and that?? it.
>>>
>>> My question(s)  before I start this endevour is the following possible.
>>>
>>> 1) Create a home webserver.
>>> 2) Host my own website on the home webserver.
>>> 3) Have access to my website from the internet via an DSL/ISP
>>> connection.
>>>
>>> I want to do this without registering a domain.
>>>
>>> I am using a router and the computer I want to setup is configured as
>>> the DMZ.
>>> My router is the DHCP server ( I have five computers in my home) ,
>>> and my system has an IP address outside the DHCP range so it has a
>>> static IP address.
>>>
>>>  Do I need to setup the webhost server as a secondary DNS server to
>>> the ISP DNS server?
>>>
>>> I have spent the entire day tryng to figure out how to associate the
>>> server "hostname.xxx.xx" with  the webserver "www.name.domain" and IP
>>> address and how to point to the actual "index.html" for the webpage
>>> in /var/www/mywebsite/index.html.
>>>
>>>  From what I read all Apache2 configuration takes place in
>>> "httpd.conf". My configuration does not work properly and I have read
>>> so some information I am confused on exactly where I went wrong.
>>>
>>>  At this point I am getting the following when I try to access
>>> "http://www.name.domain/index.html".
>>>
>>>
>>>   Forbidden
>>>
>>> You don't have permission to access /apache2-default/index.html on
>>> this server.
>>>
>>> Additionally, a 403 Forbidden error was encountered while trying to
>>> use an ErrorDocument to handle the request.
>>>
>>> ------------------------------------------------------------------------
>>> Apache/2.0.54 (Debian GNU/Linux) PHP/4.3.10-13 Server at localhost
>>> Port 80
>>>
>>>
>>>
>>> I could use a little basic guidance so far I just get pointed to the
>>> same documentation I already have been reading but cannot seem to
>>> extrapolate the correct information. So a cookbook step by step would
>>> help, but I now it is a pain and will take someones valued time. I
>>> just seem to have too much information to read through and need to
>>> sort it out.
>>>
>>> thanks for any help.
>>>
>>> Philip
>>> netsuporte@(protected)
>>>
>>
>> Philip -
>>
>> In all honesty, the best basic help I've ever gotten was from inside
>> httpd.conf itself.  You still have to use your brain a bit, but for
>> the mostpart it's a step-by-step primer.  Basic rule of thumb is, if
>> you don't understand it, leave it alone - but change what you need
>> to.  If you still want to understand it, take up the directive that
>> you are examining, and reference it to the documentation provided at
>> http://httpd.apache.org.
>
>
> You are correct, and I am trying to use what brain I have left I am 62
> years old and slowing down a bit these days, but I learn something new
> everyday and more often it is from knowledgeable people like yourself.
>
>>
>> You could go through all the trouble of setting up a simple DNS
>> server, or you could edit the 'hosts' file on each machine and make
>> them "aware" of the hostname resolution (www.name.domain points to,
>> say, 192.168.0.10).  This would be a much simpler
>
>
> The objective is to allow access from anywhere on the internet, the
> intention is to have the website passworded for entry.
> I guess this is sounding more like VPN server than just a webserver.
>
>> solution.
>>
>> Are you able to hit the server by it's IP, i.e. http://192.168.0.10 or
>> what have you?
>
>
> I am using this system with no problems it functions as a FTP server and
> a Samba server already.
>
> If I try  http://192.168.1.222:80  ( the actual server IP)
>
> I get the above (Forbidden) message.
>
> What I don't get yet is why when I use this input it changes to the
> /apache2-default/ directory.
> I have tried to change the path to /var/www/mywebsite  no matter what I
> get the same response.
>
>>
>> HTML emails are a bit difficult to read for those who do not have
>> HTML-enabled email clients.  Please do not use HTML email when sending
>> to this list.  It's better that you hear it now, from me, in a polite
>> manner, than really making someone mad later on ;)
>>
> OK sorry for the html I do know better no excuse for that.
>
>> Thanks
>> -dant
>>


Age is just a number.  I bet half the people on this list are < 25 years
old, and they're capable.  We're all capable.  Hell, I'm 21!

Do you have a DocumentRoot specified in your httpd.conf?  This directive
coincides with the first occurance of a Directory Container which is
usually immediately following.  This is effectively all that is requried
to run a simple Apache setup without using Virtual Hosting.

I've found myself before setting a DocumentRoot that the Apache
user/group did not have permission to access, resulting in the client
getting a 401 error.  Here's something like what I've got:

DocumentRoot "/var/www/htdocs"
<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>
<Directory "/var/www/htdocs">
    Options FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

..where the APache user/group have access to /var/www/htdocs.  You can
even do some testing with a /tmp/somecrap, and chmod it 777, and
restrict permissions more until you find what you're really looking for.
Sometimes taking the long way around makes your discovery even more
important, because along the way, you learn more about how the whole
system works in the first place.  But that's just me ;)

Keep in mind, however, that most ISPs block port 80 for this very
reason.  They don't want just any Joe hosting stuff from their
cablemodem or some such.  For others on the outside to access this site,
they'd need to specify an alternate port or some such.  But you'll get
to that point when you get this hosting speed-bump over with.

Hope that helps
-dant

---------------------------------------------------------------------
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@(protected)
  "   from the digest: users-digest-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.