Re: [users@httpd] Can this be Done?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Got step one to work!

Now I get the default index.html when I do http://www.quecaixa.com.br or http://192.168.1.222

This holds also true from another linux computer on the same subnet (with the webhost directed to the IP in /etc/hosts)
So step one done.

But you will never believe what i did. I am still sorting out why it worked.

I removed the Debian Apache2 install, downloaded and installed Apache2 myself into /usr/local/Apache2.

Seems Debian installs into /var/www/apache2_default

Thanks guys a long road ahead but I have faith.

Philip


Tom Cat wrote:

Yes this can be done.  I've done it and it wasn't extremely hard
(although I did have to ask on this list for help once).

I'd start by checking the permissions on the
/apache2-default/index.html and if you're using SELinux make sure that
is set correctly (http://fedora.redhat.com/docs/selinux-apache-fc3/).

Read through httpd.conf and make sure you've set it up correctly.  The
comments in the file are extremely helpful.

Once you're sure it is right, Try to view http://127.0.0.1 (yeah you
need to be on the server).   If that works then try from in- and
out-side of your network to see if you have a problem with the
firewall or something.

-Tom

On 5/3/05, NetSuporte <netsuporte@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx




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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux