Re: [newbie] Apache help

2001-08-01 Thread James S Bear

Quoting Jon Doe [EMAIL PROTECTED]:

 Ok, I have got apache running, put in my own index.html and it works! But how
 
 do I link to files I want to make availible? I made a directory 
 /var/www/media but if I link a file that is there, I just get an error 
 message when i click on the link, my link is:
 http://ip number/var/www/media/file.zip is this because of directory 
 permissions?
 

Isn't your index.html filein /var/www/html/?

If so, your file should be in /var/www/html/file.zip
Then, it should work just like your index file.
jim



Ignorance is underrated




RE: [newbie] Apache help

2001-08-01 Thread Adams, Jamie

And i think you link should be:

http://ipnumber/media/file.zip; as when you type in your ip number it
starts in the document root (/var/www) and not standard root, if you get
what i mean..
   -- Jamie

--
From:  James S Bear[SMTP:[EMAIL PROTECTED]]
Sent:  01 August 2001 03:10
To:Jon Doe
Cc:[EMAIL PROTECTED]
Subject:   Re: [newbie] Apache help

Quoting Jon Doe [EMAIL PROTECTED]:

 Ok, I have got apache running, put in my own index.html and it works! But
how
 
 do I link to files I want to make availible? I made a directory 
 /var/www/media but if I link a file that is there, I just get an error 
 message when i click on the link, my link is:
 http://ip number/var/www/media/file.zip is this because of directory 
 permissions?
 

Isn't your index.html filein /var/www/html/?

If so, your file should be in /var/www/html/file.zip
Then, it should work just like your index file.
jim



Ignorance is underrated


_
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.


_
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.




Re: [newbie] Apache help

2001-07-31 Thread Jon Doe

On Tuesday 31 July 2001 05:05 pm, you wrote:
 what is the exact error message?


Not Found

The requested URL /var/www/media/sbutton.zip was not found on this server.


Apache-AdvancedExtranetServer/1.3.19 Server at localhost.localdomain Port 80




Re: [newbie] Apache help

2001-07-31 Thread Jon Doe

On Tuesday 31 July 2001 05:36 pm, you wrote:
 Jon,

 There's a few things wrong here:

 #1.  In order to give access to /var/www/media (which isn't under the
 default document root of /var/www/html), you need to either alias it in the
 httpd.conf Alias /media /var/www/media/ (without the quotes), or move it
 under /var/www/html.

 #2.  The link that you are using is incorrect.  Since apache is using
 /var/www/html as the document root, all documents (excluding aliased
 directories) are fetched relative to /var/www/html.  This means the link
 http://ip_number/var/www/media/file.zip, is in fact attempting to find the
 file /var/www/html/var/www/media/file.zip (which isn't there).

 The correct link (once you've either aliased or moved the directory as in
 #1), would be http://ip_number/media/file.zip

 The answer to the question Is this because of directory permissions?
 would be no, at this point.

 Michael

Thanks for your help! Got it working! Apache is up and running and serving 
webpages...lol Isn't linux great?
Thanks to all who have helped me get Apache up and running.




Re: [newbie] Apache help

2001-07-31 Thread etharp

did I tell you it would be easy and t cl

On Tuesday 31 July 2001 18:48, Jon Doe wrote:
 On Tuesday 31 July 2001 05:36 pm, you wrote:
  Jon,
 
  There's a few things wrong here:
 
  #1.  In order to give access to /var/www/media (which isn't under the
  default document root of /var/www/html), you need to either alias it in
  the httpd.conf Alias /media /var/www/media/ (without the quotes), or
  move it under /var/www/html.
 
  #2.  The link that you are using is incorrect.  Since apache is using
  /var/www/html as the document root, all documents (excluding aliased
  directories) are fetched relative to /var/www/html.  This means the link
  http://ip_number/var/www/media/file.zip, is in fact attempting to find
  the file /var/www/html/var/www/media/file.zip (which isn't there).
 
  The correct link (once you've either aliased or moved the directory as in
  #1), would be http://ip_number/media/file.zip
 
  The answer to the question Is this because of directory permissions?
  would be no, at this point.
 
  Michael

 Thanks for your help! Got it working! Apache is up and running and serving
 webpages...lol Isn't linux great?
 Thanks to all who have helped me get Apache up and running.




Re: [newbie] Apache help

2001-07-31 Thread Michael D. Viron

Jon,

There's a few things wrong here:

#1.  In order to give access to /var/www/media (which isn't under the
default document root of /var/www/html), you need to either alias it in the
httpd.conf Alias /media /var/www/media/ (without the quotes), or move it
under /var/www/html.

#2.  The link that you are using is incorrect.  Since apache is using
/var/www/html as the document root, all documents (excluding aliased
directories) are fetched relative to /var/www/html.  This means the link
http://ip_number/var/www/media/file.zip, is in fact attempting to find the
file /var/www/html/var/www/media/file.zip (which isn't there).

The correct link (once you've either aliased or moved the directory as in
#1), would be http://ip_number/media/file.zip

The answer to the question Is this because of directory permissions?
would be no, at this point.

Michael

--
Michael Viron
Registered Linux User #81978
Senior Systems  Administration Consultant
Web Spinners, University of West Florida

At 04:34 PM 07/31/2001 -0400, Jon Doe wrote:
Ok, I have got apache running, put in my own index.html and it works! But
how 
do I link to files I want to make availible? I made a directory 
/var/www/media but if I link a file that is there, I just get an error 
message when i click on the link, my link is:
http://ip number/var/www/media/file.zip is this because of directory 
permissions?





RE: [newbie] Apache help

2001-07-21 Thread Franki

is that a real domain?

if not, then use your hostname in the browser... without the www..

ie http://mylinuxbox

that should match mylinuxbox to your internal ip in /etc/hosts


ie,  in /etc/hosts

192.168.0.1 mylinuxbox


rgds

Frank


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Tuan Duc Tran
Sent: Sunday, 22 July 2001 10:06 AM
To: [EMAIL PROTECTED]
Subject: [newbie] Apache help


Hi all,
Could anyone please tell me how to setup apache on my LM8.0?  I can
access from other computers (LAN) by type IP (ex xxx.xxx.xxx.xxx) but
can not access to this computer(MD8.0) by typing web address (EX.
www.mylinuxbox.com). I knew I typed correctly because both way work on
Linux machine (localhost). I also got worse when working on RedHat 7.1
Server Version. I couldn't access it from other computers. I can only
access from this RedHat computer. Do I need to edit httpd.conf or remove
firewall?
Thank you
Tuan


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com






RE: [newbie] Apache help

2001-07-21 Thread Tuan Duc Tran


Thanks all of you for helping solve this problem. I edited /etc/hosts
file  type http://mylinuxbox (this is not registered domain name)
without www..com and it works.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Michael D. Viron
Sent: Saturday, July 21, 2001 8:25 PM
To: Tuan Duc Tran; [EMAIL PROTECTED]
Subject: Re: [newbie] Apache help

Tuan,

Sounds as though www.mylinuxbox.com isn't a registered domain name.  If
it
isn't then you can only get to the machine via IP (because it is
unresolvable in dns).  You have two options to get beyond this -
register
it through one of the domain registrars or add it to the /etc/hosts
file.

Michael

--
Michael Viron
Registered Linux User #81978
Senior Systems  Administration Consultant
Web Spinners, University of West Florida

At 07:05 PM 07/21/2001 -0700, Tuan Duc Tran wrote:
Hi all,
Could anyone please tell me how to setup apache on my LM8.0?  I can
access from other computers (LAN) by type IP (ex xxx.xxx.xxx.xxx) but
can not access to this computer(MD8.0) by typing web address (EX.
www.mylinuxbox.com). I knew I typed correctly because both way work on
Linux machine (localhost). I also got worse when working on RedHat 7.1
Server Version. I couldn't access it from other computers. I can only
access from this RedHat computer. Do I need to edit httpd.conf or
remove
firewall?
Thank you
Tuan


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





Re: [newbie] apache help

2000-11-30 Thread -michael-

On Thursday 30 November 2000 16:26, you proffered:
 I have mandrake 7.2 download version installed
 with apache 1.3.14 along with apache mod perl
 I can't seem to bring up my website

 it ran under 7.02 with apache 1.3.9
 but this time it says this:

 unable to connect to server:
 (TCP ERROR:xp_get builtinstring:7105 not found)

 this also happens when I try webmin
 and : https:localhost:1
 whats wrong...can't figure this one out

Kit:
This helped me...
snip Someone suggested That I
replace the welcome to localhostsplash page which the apache puts up
initially; they said it was located at home/httpd/html. No luck with that
either.


On Mandrake systems (7.2 included), the httpd DocumentRoot directory is in 
/var/www/html so make sure your pages are under that, i.e. 
/var/www/html/webpages/index.html, which would then be called in the 
browser by http://yourip/webpages/index.html
-- 

-michael-
RLU# 175480




Re: [newbie] apache help

2000-11-30 Thread KompuKit

thats not it...I can't even get a 

127.0.0.1

or a localhost

it says tcp error: no root to host

-michael- wrote:
 
 On Thursday 30 November 2000 16:26, you proffered:
  I have mandrake 7.2 download version installed
  with apache 1.3.14 along with apache mod perl
  I can't seem to bring up my website
 
  it ran under 7.02 with apache 1.3.9
  but this time it says this:
 
  unable to connect to server:
  (TCP ERROR:xp_get builtinstring:7105 not found)
 
  this also happens when I try webmin
  and : https:localhost:1
  whats wrong...can't figure this one out
 
 Kit:
 This helped me...
 snip Someone suggested That I
 replace the welcome to localhostsplash page which the apache puts up
 initially; they said it was located at home/httpd/html. No luck with that
 either.
 
 On Mandrake systems (7.2 included), the httpd DocumentRoot directory is in
 /var/www/html so make sure your pages are under that, i.e.
 /var/www/html/webpages/index.html, which would then be called in the
 browser by http://yourip/webpages/index.html
 --
 
 -michael-
 RLU# 175480

-- 
 Registered Linux User:167369
=KompuKit=
Kit Goins   ICQ# 7110071
[EMAIL PROTECTED] Lowell, Mass.
Web Designerhttp://kitdesigns.bizhosting.com
WebServer:  http://kompukit.dyndns.org
(Server Runs between M - F 6pm-12am, S  S 12pm-12am EST)
=KompuKit=




Re: [newbie] Apache HELP

2000-07-22 Thread Roderick F.Lazaro

On Sat, 22 Jul 2000, you wrote:
 I'm trying to install apache from the mandrake installation CD.  I'm using
 kpackage to install the rpm but i keep getting dependecy problems.
 
 Here they are:
 m is needed by apache-1.3.12-12mdk
 libmm.so.10 is needed by apache 1.3.12-12mdk

You'll have to install the appropriate library first. I think its libmm. It's
included in the cd.




Re: [newbie] Apache HELP

2000-07-22 Thread KompuKit

look on your CD...and install  ALL   " devel  " rpms
then install apache again

Jim Dwyer wrote:
 
 I'm trying to install apache from the mandrake installation CD.  I'm using
 kpackage to install the rpm but i keep getting dependecy problems.
 
 Here they are:
 m is needed by apache-1.3.12-12mdk
 libmm.so.10 is needed by apache 1.3.12-12mdk
 
 Help, what's wrong.  How do i fix.  Thanks
 
 Jim

-- 
===KompuKit===
Kit GoinsICQ# 7110071   [EMAIL PROTECTED]
Web Designer: http://kitdesigns.bizhosting.com
WebServer:http://kompukit.dyndns.org
(Server Runs between M-F 6pm-12am,S+S 12pm-12am EST)
===KompuKit===