Re: [newbie] Apache not starting?

2004-11-27 Thread Peter Davis





Adolfo Bello wrote:

  On Fri, 2004-11-26 at 15:06 -0500, Peter Davis wrote:
  
  
I'm running 10.0, but Apache seems to be having a problem starting. 
When I try to browse to "localhost", I just get a Google search page. 
Even using 127.0.0.1 doesn't work.

The system log  says:

Syntax error on line 56 of /etc/httpd/2.0/conf/commonnhttpd.conf:
Invalid command '
  
  
It should be "IfModule" (an I instead of l). Change that and start
Apache. It should work.
  

Thanks.  I'm trying that now.  That's pretty puzzling, though.  The
config file had

    
    .
    .
    

So it was wrong in two places.  I don't know how that could have
happened.

Thanks,
-pd

-- 

 Peter Davis
   Funny stuff at http://www.pfdstudio.com
List of resources for children's writers and illustrators at:
  http://www.pfdstudio.com/cwrl.html





Re: [newbie] Apache not starting?

2004-11-27 Thread Adolfo Bello
On Fri, 2004-11-26 at 15:06 -0500, Peter Davis wrote:
> I'm running 10.0, but Apache seems to be having a problem starting. 
> When I try to browse to "localhost", I just get a Google search page. 
> Even using 127.0.0.1 doesn't work.
> 
> The system log  says:
> 
> Syntax error on line 56 of /etc/httpd/2.0/conf/commonnhttpd.conf:
> Invalid command ' not included in the server configuration

It should be "IfModule" (an I instead of l). Change that and start
Apache. It should work.

Adolfo



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache not starting?

2004-11-26 Thread JoeHill
On Fri, 26 Nov 2004 17:43:58 -0500
Peter Davis disseminated the following:

> How to you un-install something?

urpme 

-- 
JoeHill / RLU #282046 / www.freeyourmachine.org
18:24:44 up 5 days, 9:34, 10 users, load average: 0.22, 0.17, 0.08
+++
"Where the state begins, individual liberty ceases, and vice versa." -- Bakunin


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache not starting?

2004-11-26 Thread Peter Davis





Fajar Priyanto wrote:

  On Saturday 27 November 2004 03:06 am, Peter Davis wrote:
  
  
I'm running 10.0, but Apache seems to be having a problem starting.
When I try to browse to "localhost", I just get a Google search page.
Even using 127.0.0.1 doesn't work.

The system log  says:

Syntax error on line 56 of /etc/httpd/2.0/conf/commonnhttpd.conf:
Invalid command '
  
  
Hi Peter,
I think the easiest way is to uninstall apache and re-install it again.
  


Yes, I could try that.  I didn't install it in the first place.  It was
pre-installed on the system.  But it's worth a try. 

How to you un-install something?

-pd


-- 

 Peter Davis
   Funny stuff at http://www.pfdstudio.com
List of resources for children's writers and illustrators at:
  http://www.pfdstudio.com/cwrl.html





Re: [newbie] Apache not starting?

2004-11-26 Thread Fajar Priyanto
On Saturday 27 November 2004 03:06 am, Peter Davis wrote:
> I'm running 10.0, but Apache seems to be having a problem starting.
> When I try to browse to "localhost", I just get a Google search page.
> Even using 127.0.0.1 doesn't work.
>
> The system log  says:
>
> Syntax error on line 56 of /etc/httpd/2.0/conf/commonnhttpd.conf:
> Invalid command ' not included in the server configuration
>
> The module in question is mod_access.c
>
> I'm pretty certain this used to work when I first installed the system,
> so possibly something I've done since has broken it.  I haven't messed
> with Apache at all, but I tried to install UW IMAP, and later Courier
> IMAP.

Hi Peter,
I think the easiest way is to uninstall apache and re-install it again.
-- 
Fajar Priyanto | Reg'd Linux User #327841 | http://linux2.arinet.org
04:36:43 up 8:16, Mandrakelinux release 10.1 (Official) for i586 
public key: https://www.arinet.org/fajar-pub.key


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] Apache not starting?

2004-11-26 Thread Peter Davis

I'm running 10.0, but Apache seems to be having a problem starting. 
When I try to browse to "localhost", I just get a Google search page. 
Even using 127.0.0.1 doesn't work.

The system log  says:

Syntax error on line 56 of /etc/httpd/2.0/conf/commonnhttpd.conf:
Invalid command '
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache or Mandrake permissions problems?

2004-11-16 Thread Stephen Kühn
On Wed, 2004-11-17 at 01:39, Lee Wiggers wrote:
> On Wed, 17 Nov 2004 04:11:47 +1100
> Stephen Kühn <[EMAIL PROTECTED]> wrote:
> 
> > Er, wouldn't this be better posted on the Apache list than on the
> > Mandrake list?
> 
> Picky in your old age, Stephen?  I bring all my problems here. 
> Where else can you find so many opinions?
> 
> Lee

Picky? Er, yeahtrue...getting cranky as well...

--
stephen kuhn
mobile: 0410-728-389
illawarra and regional new south wales
---
GNU/Linux/OpenSource Solutions and Alternatives
100% Microsoft Free and no viruses
Registered Linux User # 267497

Windows: Where do you want to go today?
MacOS: Where do you want to be tomorrow?
Linux: Are you coming or what?

---
My life is a patio of fun!



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache or Mandrake permissions problems?

2004-11-16 Thread Aron Smith
On Tuesday 16 November 2004 06:39 am, Lee Wiggers wrote:
> On Wed, 17 Nov 2004 04:11:47 +1100
>
> Stephen Kühn <[EMAIL PROTECTED]> wrote:
> > Er, wouldn't this be better posted on the Apache list than on the
> > Mandrake list?
>
> Picky in your old age, Stephen?  I bring all my problems here.
> Where else can you find so many opinions?
[insert John Kerry joke here]
>
> Lee

-- 
When a citizen gives his suffrage to a man of known immorality 
he abuses his trust; he sacrifices not only his own interest, 
but that of his neighbor, he betrays the interest of his 
country." --Noah Webster.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache or Mandrake permissions problems?

2004-11-16 Thread Lee Wiggers
On Wed, 17 Nov 2004 04:11:47 +1100
Stephen Kühn <[EMAIL PROTECTED]> wrote:

> Er, wouldn't this be better posted on the Apache list than on the
> Mandrake list?

Picky in your old age, Stephen?  I bring all my problems here. 
Where else can you find so many opinions?

Lee


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache or Mandrake permissions problems?

2004-11-16 Thread Todd Slater
On Tue, Nov 16, 2004 at 12:39:19PM -0500, Jaime Magiera wrote:
> Not if it's related to permission conflicts on the server, such as 
> those imposed by msec. Hence, in the subject "Apache or Mandrake".

I think permissions on /home/user/public_html should be 711. I wouldn't
change permissions on /home/user (unless you're tightening it up).

You might try turning on the /home/*/public_html option in httpd.conf
and just testing a user. If you can do that ok, then your problem might
not be permissions but your VirtualHost entry.

Todd


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache or Mandrake permissions problems?

2004-11-16 Thread Jaime Magiera
Not if it's related to permission conflicts on the server, such as 
those imposed by msec. Hence, in the subject "Apache or Mandrake".

On Nov 16, 2004, at 12:11 PM, Stephen Kühn wrote:
Er, wouldn't this be better posted on the Apache list than on the
Mandrake list?


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache or Mandrake permissions problems?

2004-11-16 Thread Stephen Kühn
On Tue, 2004-11-16 at 16:54, Jaime Magiera wrote:
> I'm stumped on this problem. I've created a virtual host in my apache 
> vhosts config (pointing to a home directory). However, I'm still 
> getting permission denied errors. I've read and re-read the Apache 
> docs, which leads me to believe this is something I don't understand 
> about Mandrake 10. If I chmod 755 the person's home directory folder 
> (for testing purposes only), the problem is aleviated. I don't get it, 
> because the URL's in the directives below are correct. Isn't the 
> directive supposed to supersede the permission of the upper level 
> folders (/home/person) ?
> 
> Here's the configuration...
> 
> DocumentRoot "/home/person/public_html"
>   ServerName person.com
>   ServerAlias www.person.com
>   Options ExecCGI FollowSymLinks Includes IncludesNOEXEC Indexes 
> MultiViews SymLinksIfOwnerMatch
>   DirectoryIndex "index.html" "index.php"
>   
>   Options  All -Includes +Indexes +MultiViews +ExecCGI
>   AllowOverride All
>   
>   order allow,deny
>   allow from all
>   
>   
> ErrorLog /var/log/httpd/permission_error_log
> LogLevel emerg
> TransferLog /var/log/httpd/permission_access_log
> LogFormat "combined"
> 
> thanks,
> 
> Jaime

Er, wouldn't this be better posted on the Apache list than on the
Mandrake list?

--
stephen kuhn
mobile: 0410-728-389
illawarra and regional new south wales
---
GNU/Linux/OpenSource Solutions and Alternatives
100% Microsoft Free and no viruses
Registered Linux User # 267497

Windows: Where do you want to go today?
MacOS: Where do you want to be tomorrow?
Linux: Are you coming or what?

---
This fortune intentionally left blank.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] Apache or Mandrake permissions problems?

2004-11-15 Thread Jaime Magiera
I'm stumped on this problem. I've created a virtual host in my apache 
vhosts config (pointing to a home directory). However, I'm still 
getting permission denied errors. I've read and re-read the Apache 
docs, which leads me to believe this is something I don't understand 
about Mandrake 10. If I chmod 755 the person's home directory folder 
(for testing purposes only), the problem is aleviated. I don't get it, 
because the URL's in the directives below are correct. Isn't the 
directive supposed to supersede the permission of the upper level 
folders (/home/person) ?

Here's the configuration...
DocumentRoot "/home/person/public_html"
	ServerName person.com
 	ServerAlias www.person.com
	Options ExecCGI FollowSymLinks Includes IncludesNOEXEC Indexes 
MultiViews SymLinksIfOwnerMatch
	DirectoryIndex "index.html" "index.php"
	
	   	Options  All -Includes +Indexes +MultiViews +ExecCGI
   		AllowOverride All
   		
			order allow,deny
			allow from all
   		
	
ErrorLog /var/log/httpd/permission_error_log
LogLevel emerg
TransferLog /var/log/httpd/permission_access_log
LogFormat "combined"

thanks,
Jaime


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache and blocking Referrer spam

2004-10-13 Thread Bryan Phinney
On Wednesday 13 October 2004 12:34, Todd Slater wrote:

> Cool, I used to use b2evolution (after b2/cafelog) but was under the
> impression development had stopped and everybody was jumping to
> WordPress, which I currently use. WP has comment moderation--comments
> can be held based on number of links, occurrence of words, and ip addys.
> The idea of d/l'ing a shared list sounds like a good idea. I'm trying
> out pLog at work, which has regex and bayesian capability, but
> unfortunately no "forced" moderation.

Well, last time I checked, it appeared that a lot of people were just then 
upgrading to a new version, so I assumed that the latest was fairly new for 
B2evolution.  It works well for me at least, supports a lot of stuff that I 
am not really using anyway.

Only 2 readers anyway, my two different personalities. ;}

-- 
Bryan Phinney



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache and blocking Referrer spam

2004-10-13 Thread Todd Slater
On Wed, Oct 13, 2004 at 11:36:26AM -0400, Bryan Phinney wrote:
> On Wednesday 13 October 2004 08:36, Todd Slater wrote:
> 
> > I have issues with comment spam but not referrer spam, but if I
> > understand Bryan's strategy it will not block comment spammers, right?
> > WordPress has some nice comment spam-fighting features built in, but I
> > have yet to find the "perfect" blogging software.
> 
> I am currently using B2Evolution and it does have the ability to block domains 
> from both referrers and comments within the blog.  Of course, they can create 
> another domain but it is obviously trivial to add additional domains to the 
> block list which will get expensive for them eventually.
> 
> B2evolution also has a built-in spam block feature that downloads shared lists 
> of other B2evolution users so that you can update your list and proactively 
> block referrer and comment spam.  You might give it a look.

Cool, I used to use b2evolution (after b2/cafelog) but was under the
impression development had stopped and everybody was jumping to
WordPress, which I currently use. WP has comment moderation--comments
can be held based on number of links, occurrence of words, and ip addys.
The idea of d/l'ing a shared list sounds like a good idea. I'm trying
out pLog at work, which has regex and bayesian capability, but
unfortunately no "forced" moderation.

Thanks for the info,

Todd


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache and blocking Referrer spam

2004-10-13 Thread Bryan Phinney
On Wednesday 13 October 2004 08:36, Todd Slater wrote:

> I have issues with comment spam but not referrer spam, but if I
> understand Bryan's strategy it will not block comment spammers, right?
> WordPress has some nice comment spam-fighting features built in, but I
> have yet to find the "perfect" blogging software.

I am currently using B2Evolution and it does have the ability to block domains 
from both referrers and comments within the blog.  Of course, they can create 
another domain but it is obviously trivial to add additional domains to the 
block list which will get expensive for them eventually.

B2evolution also has a built-in spam block feature that downloads shared lists 
of other B2evolution users so that you can update your list and proactively 
block referrer and comment spam.  You might give it a look.

-- 
Bryan Phinney



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache and blocking Referrer spam

2004-10-13 Thread Todd Slater
On Wed, Oct 13, 2004 at 06:19:23PM +0800, frankieh wrote:
> Bryan Phinney wrote:
> >Don't know if anyone else here is running Apache with web logs, or 'blogs' 
> >and has had trouble with referrer spam but I thought I would mention my 
> >latest experience.

> >If anyone else is having this problem and runs Apache to host their own 
> >site, I can quickly show you how to do this (add a few lines to 
> >httpd2.conf) and you can block these out yourself.
> >
> 
> Yup, please do..
> 
> I have had about 200 comment spams added to my site in the last couple 
> of months.. so I setup my
> router withi a blacklist and I've just been adding the nasty IP to that 
> blacklist.
>
> I also changed the blog over to comment moderation..
> 
> I'd prefer a better answer though, so I'd love to read about yours.
> In fact if you like I can even turn it into something of a tute and put 
> it on the site for others to find.

I have issues with comment spam but not referrer spam, but if I
understand Bryan's strategy it will not block comment spammers, right?
WordPress has some nice comment spam-fighting features built in, but I
have yet to find the "perfect" blogging software.

Todd


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache and blocking Referrer spam

2004-10-13 Thread Lyvim Xaphir
On Wed, 2004-10-13 at 06:19, frankieh wrote:
> Bryan Phinney wrote:
> > Don't know if anyone else here is running Apache with web logs, or 'blogs' and 
> > has had trouble with referrer spam but I thought I would mention my latest 
> > experience.
> > 
> > Blogs are one of the more interesting developments of the Internet and there 
> > are a lot of packages out there that allow people to maintain their own 
> > blogs.  If you run Apache and host these packages, you may have noticed a lot 
> > of traffic recently as "marketers" try to adverise their web sites by 
> > throwing traffic at a blog and thereby moving their site to the top of the 
> > referrer's list.  They are also hoping to increase their Google rank by 
> > increasing the number of sites that advertise links to their own sites.
> > 
> > Mostly porn sites currently, but several others have been doing this.  I 
> > recently got hit by someone operating (out of Texas, I think) who had several 
> > sites hosted at EV1 and was using various open proxies to refer traffic to my 
> > blog and increase his rank.  Initially, I just figured out how to ban his 
> > sites from my referrer listing but I was really unsatisfied with that 
> > response since he kept hitting my site anyway with robots and it just wasn't 
> > very gratifying to me.  I would have had problems blocking his traffic 
> > altogether since he was using various open proxies and switching them 
> > regularly, so I wanted to be able to focus exclusively on his traffic.  He 
> > was also rotating the browser agent and so on, so blocking that would have 
> > been problematic as well.
> > 
> > So, I finally did some research and figured out how to deny access to requests 
> > that contained certain keywords (including his web site domain names) in the 
> > request (referrer) which effectively resulted in him getting 403 errors 
> > rather than actually getting into my web page.  After 2-3 days of him not 
> > getting into the site, I sent an email (to the admin account at one of the 
> > domains) and pointed out to him that he was wasting his time since I was 
> > blocking his spam bots and that he might do better to find an easier target.  
> > As of today, all the spam referrer traffic has stopped which I suspect means 
> > that he has given up.
> > 
> > If anyone else is having this problem and runs Apache to host their own site, 
> > I can quickly show you how to do this (add a few lines to httpd2.conf) and 
> > you can block these out yourself.
> > 
> 
> Yup, please do..
> 
> I have had about 200 comment spams added to my site in the last couple 
> of months.. so I setup my
> router withi a blacklist and I've just been adding the nasty IP to that 
> blacklist.
> 
> I also changed the blog over to comment moderation..
> 
> I'd prefer a better answer though, so I'd love to read about yours.
> In fact if you like I can even turn it into something of a tute and put 
> it on the site for others to find.
> 
> rgds
> 
> Franki
> 
Interesting thread; I'd like to learn how to do this as well

LX
-- 

Trouble with sound?  Dump Alsa with an upgrade
to the best: get your free high quality OSS
drivers at www.opensound.com
Superior features, superior API, better support.




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache and blocking Referrer spam

2004-10-13 Thread Bryan Phinney
On Wednesday 13 October 2004 06:19, frankieh wrote:
> Bryan Phinney wrote:

> > If anyone else is having this problem and runs Apache to host their own
> > site, I can quickly show you how to do this (add a few lines to
> > httpd2.conf) and you can block these out yourself.
>
> Yup, please do..
>
> I have had about 200 comment spams added to my site in the last couple
> of months.. so I setup my
> router withi a blacklist and I've just been adding the nasty IP to that
> blacklist.

Okay, in the httpd.conf file, add this line somewhere near the top, not within 
the virtual directory line:

SetEnvIfNoCase Referer ".*(casino|gambling|poker|porn|viagra).*" BadReferrer

All on one line, ignore any wrapping from the newsreader.  Add terms as needed 
to block additional referrer blacklisted terms.  This will tell Apache to set 
an environment variable of badreferrer when it receives a request that 
contains the blacklisted term.

Now, within the virtual directory for your blog, site or whatever, add these 
lines:

allow from all
order allow,deny
Deny from env=BadReferrer

Any order, it doesn't matter but Apache will explicitly deny when it sees the 
badreferrer environment variable.

Restart Apache and if you check your access_log, you should see 403 results 
for any request that contains a blacklisted term.  Simply add, as necessary, 
additional terms and they will no longer be allowed access. 

Once you have locked it down, consider sending a polite request to the  and tell him that they might as well give it up and 
they should realize the futility of wasting traffic and go away.

-- 
Bryan Phinney



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache and blocking Referrer spam

2004-10-13 Thread frankieh
Bryan Phinney wrote:
Don't know if anyone else here is running Apache with web logs, or 'blogs' and 
has had trouble with referrer spam but I thought I would mention my latest 
experience.

Blogs are one of the more interesting developments of the Internet and there 
are a lot of packages out there that allow people to maintain their own 
blogs.  If you run Apache and host these packages, you may have noticed a lot 
of traffic recently as "marketers" try to adverise their web sites by 
throwing traffic at a blog and thereby moving their site to the top of the 
referrer's list.  They are also hoping to increase their Google rank by 
increasing the number of sites that advertise links to their own sites.

Mostly porn sites currently, but several others have been doing this.  I 
recently got hit by someone operating (out of Texas, I think) who had several 
sites hosted at EV1 and was using various open proxies to refer traffic to my 
blog and increase his rank.  Initially, I just figured out how to ban his 
sites from my referrer listing but I was really unsatisfied with that 
response since he kept hitting my site anyway with robots and it just wasn't 
very gratifying to me.  I would have had problems blocking his traffic 
altogether since he was using various open proxies and switching them 
regularly, so I wanted to be able to focus exclusively on his traffic.  He 
was also rotating the browser agent and so on, so blocking that would have 
been problematic as well.

So, I finally did some research and figured out how to deny access to requests 
that contained certain keywords (including his web site domain names) in the 
request (referrer) which effectively resulted in him getting 403 errors 
rather than actually getting into my web page.  After 2-3 days of him not 
getting into the site, I sent an email (to the admin account at one of the 
domains) and pointed out to him that he was wasting his time since I was 
blocking his spam bots and that he might do better to find an easier target.  
As of today, all the spam referrer traffic has stopped which I suspect means 
that he has given up.

If anyone else is having this problem and runs Apache to host their own site, 
I can quickly show you how to do this (add a few lines to httpd2.conf) and 
you can block these out yourself.

Yup, please do..
I have had about 200 comment spams added to my site in the last couple 
of months.. so I setup my
router withi a blacklist and I've just been adding the nasty IP to that 
blacklist.

I also changed the blog over to comment moderation..
I'd prefer a better answer though, so I'd love to read about yours.
In fact if you like I can even turn it into something of a tute and put 
it on the site for others to find.

rgds
Franki

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache and blocking Referrer spam

2004-10-12 Thread Hoyt Bailey
On Tuesday 12 October 2004 13:20, Bryan Phinney wrote:
snip
> If anyone else is having this problem and runs Apache to host their
> own site, I can quickly show you how to do this (add a few lines to
> httpd2.conf) and you can block these out yourself.
Good for you Bryan.  A service for the world.
-- 
Regards;
Hoyt
Registered Linux User #363264
http://counter.li.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] Apache and blocking Referrer spam

2004-10-12 Thread Bryan Phinney
Don't know if anyone else here is running Apache with web logs, or 'blogs' and 
has had trouble with referrer spam but I thought I would mention my latest 
experience.

Blogs are one of the more interesting developments of the Internet and there 
are a lot of packages out there that allow people to maintain their own 
blogs.  If you run Apache and host these packages, you may have noticed a lot 
of traffic recently as "marketers" try to adverise their web sites by 
throwing traffic at a blog and thereby moving their site to the top of the 
referrer's list.  They are also hoping to increase their Google rank by 
increasing the number of sites that advertise links to their own sites.

Mostly porn sites currently, but several others have been doing this.  I 
recently got hit by someone operating (out of Texas, I think) who had several 
sites hosted at EV1 and was using various open proxies to refer traffic to my 
blog and increase his rank.  Initially, I just figured out how to ban his 
sites from my referrer listing but I was really unsatisfied with that 
response since he kept hitting my site anyway with robots and it just wasn't 
very gratifying to me.  I would have had problems blocking his traffic 
altogether since he was using various open proxies and switching them 
regularly, so I wanted to be able to focus exclusively on his traffic.  He 
was also rotating the browser agent and so on, so blocking that would have 
been problematic as well.

So, I finally did some research and figured out how to deny access to requests 
that contained certain keywords (including his web site domain names) in the 
request (referrer) which effectively resulted in him getting 403 errors 
rather than actually getting into my web page.  After 2-3 days of him not 
getting into the site, I sent an email (to the admin account at one of the 
domains) and pointed out to him that he was wasting his time since I was 
blocking his spam bots and that he might do better to find an easier target.  
As of today, all the spam referrer traffic has stopped which I suspect means 
that he has given up.

If anyone else is having this problem and runs Apache to host their own site, 
I can quickly show you how to do this (add a few lines to httpd2.conf) and 
you can block these out yourself.

-- 
Bryan Phinney



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache

2004-09-10 Thread cervixcouch
> On Thu, 9 Sep 2004 21:57:48 -0400 (EDT)
> [EMAIL PROTECTED] wrote:
>
>> there is an file "index.html" at http://www.mysite.org/mypage and it
>> loads fine without the trailing "/"
>>
>> There is also an "index.php" file under /mypage.
>
>
>> When I type in http://www.mysite.org, the browser appends a "/" in the
>> address bar when the page loads.
>>
>> On another server, I have Squirrelmail running and can access that by
>> typing http://www.mysite.org/squirrelmail.  Same story, the browser
>> appends a "/" in the address bar when the page loads
>>
>> But when I try type in http://www.mysite.org/mypage I get the error
>> message.
>>
>> Obviously, something is happening on the other server if I can type
>> the directory name without the trailing "/" and apache knows to look
>> for the index.php file in that directory.
>
> sorry no fix, just saying what happens on my end;
>
> http://www.mysite.org/mypage  shows what appears to be your complete web
> page (rm-rf) - with all the images and one link.  The Unix Manual link
> is red.  If I hold my cursor over it, it "disappears" (the words Unix
> Manual disappears, but the link still works)
>
> and;
>
> http://www.mysite.org/mypage/  shows the same web page at first
> glance, except it is missing the Apache, PHP and mod_ssl images.  Sun's
> is still working though.  And the Unix Manual link is blue, underlined
> and does not disappear when hovering over it.
>
> Not sure if any of this is caused by my browsers settings though. which
> is Epiphany 1.0.7.
>

Actually, that's not my website at all.  I just used
http://www.mysite.org/mypage as a generic example to illustrate the
problem I'm having with the trailing "/" in the URL.

I guess I should have first verified that there wasn't an actuall site
called http://www.mysite.org/mypage before I used it as an example.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



RE: [newbie] Apache

2004-09-10 Thread Jamie Kerwick
I suspect that the reason these images aren't appearing on
http://www.mysite.org/mypage/ is because they are linked to "images/..."
if you changed this to "/images/..." then they would work.

The reason they work for http://www.mysite.org/mypage is because
"images/" is actually the same as "/images/" as you are in the document
root directory. Where as "/mypage/" you are in the /mypage directory
under the document root. 

The same goes for the stylesheet you are linking to (and why the manual
link isn't red)

Hope this helps 

Jamie

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve Jeppesen
Sent: 10 September 2004 11:18
To: [EMAIL PROTECTED]
Subject: Re: [newbie] Apache

On Thu, 9 Sep 2004 21:57:48 -0400 (EDT)
[EMAIL PROTECTED] wrote:

> there is an file "index.html" at http://www.mysite.org/mypage and it 
> loads fine without the trailing "/"
> 
> There is also an "index.php" file under /mypage.


> When I type in http://www.mysite.org, the browser appends a "/" in the

> address bar when the page loads.
> 
> On another server, I have Squirrelmail running and can access that by 
> typing http://www.mysite.org/squirrelmail.  Same story, the browser 
> appends a "/" in the address bar when the page loads
> 
> But when I try type in http://www.mysite.org/mypage I get the error 
> message.
> 
> Obviously, something is happening on the other server if I can type 
> the directory name without the trailing "/" and apache knows to look 
> for the index.php file in that directory.

sorry no fix, just saying what happens on my end;

http://www.mysite.org/mypage  shows what appears to be your complete web
page (rm-rf) - with all the images and one link.  The Unix Manual link
is red.  If I hold my cursor over it, it "disappears" (the words Unix
Manual disappears, but the link still works)

and;

http://www.mysite.org/mypage/  shows the same web page at first glance,
except it is missing the Apache, PHP and mod_ssl images.  Sun's is still
working though.  And the Unix Manual link is blue, underlined and does
not disappear when hovering over it.

Not sure if any of this is caused by my browsers settings though. which
is Epiphany 1.0.7.

--
Linux user #280097
Machines #162480 #191825

http://counter.li.org




** E-mail Disclaimer **
This e-mail message is confidential and for use by the addressee only.  If you are not 
the intended addressee, please reply to the sender and then delete the message from 
your computer.

Please note that any views or opinions presented in this e-mail are those of the 
author and do not necessarily represent the views or opinions of The Benenden 
Healthcare Society Limited.

You should check this e-mail and any attachments for the presence of viruses.  The 
Benenden Healthcare Society Limited accepts no liability for any damages caused by any 
virus transmitted my this e-mail or its attachments.

The Benenden Healthcare Society Limited is an incorporated friendly society, 
registered under the Friendly Societies Act 1992, registered number 480F.  The 
Society’s contractual business (the provision of tuberculosis benefit) is authorised 
by the FSA.  The remainder of The Society’s business is undertaken on a discretionary 
basis.  The Society is subject to FSA requirement for prudential management.

Registered Office Address: The Benenden Healthcare Society Limited,
Holgate Park Drive, York. YO26 4GG.  
Tel: 0870 7545 700  Fax: 0870 7545 822
www.benenden.org.uk


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache

2004-09-10 Thread Steve Jeppesen
On Thu, 9 Sep 2004 21:57:48 -0400 (EDT)
[EMAIL PROTECTED] wrote:

> there is an file "index.html" at http://www.mysite.org/mypage and it
> loads fine without the trailing "/"
> 
> There is also an "index.php" file under /mypage.


> When I type in http://www.mysite.org, the browser appends a "/" in the
> address bar when the page loads.
> 
> On another server, I have Squirrelmail running and can access that by
> typing http://www.mysite.org/squirrelmail.  Same story, the browser
> appends a "/" in the address bar when the page loads
> 
> But when I try type in http://www.mysite.org/mypage I get the error
> message.
> 
> Obviously, something is happening on the other server if I can type
> the directory name without the trailing "/" and apache knows to look
> for the index.php file in that directory.

sorry no fix, just saying what happens on my end;

http://www.mysite.org/mypage  shows what appears to be your complete web
page (rm-rf) - with all the images and one link.  The Unix Manual link
is red.  If I hold my cursor over it, it "disappears" (the words Unix
Manual disappears, but the link still works)

and;

http://www.mysite.org/mypage/  shows the same web page at first
glance, except it is missing the Apache, PHP and mod_ssl images.  Sun's
is still working though.  And the Unix Manual link is blue, underlined
and does not disappear when hovering over it.

Not sure if any of this is caused by my browsers settings though. which
is Epiphany 1.0.7.

-- 
Linux user #280097
Machines #162480 #191825

http://counter.li.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache

2004-09-09 Thread yankl
On Thursday 09 September 2004 18:31, JoeHill wrote:
> On Thu, 9 Sep 2004 18:19:03 -0400
>
> JoeHill disseminated the following:
> > > Does anyone happen to know what needs to be configured in Apache so
> > > that the trailing "/" doesn't need to be in a URL in order for the page
> > > to load?
> > >
> > > currently, if I type in http://www.mysite.org/mypage, I get an error
> > > message saying that I don't have access to /mypage.
> > >
> > > If I type in http://www.mysite.org/mypage/ the page loads just fine.
> > >
> > > Any ideas on how to fix this?
> >
> > You need to have a default page to load, probably. Should be called
> > 'index.html', off the root of the server, ie. /var/www/html/index.html
> > (or .php or whatever).
>
> ...sorry, not off the root of the server...me not reading good :-\
>
> The thing is, http://www.mysite.org/mypage is looking for a page to load
> called 'mypage', which of course does not exist, it's a directory. Loading
> www.mysite.org automagically looks for 'index.html' or the like, but as
> soon as you add a dir off the root, you need to add that trailing /. I'm
> not sure this is something to be 'fixed', I believe it is normal behaviour.
>
> Blast me to hell if I am wrong ;-)
Read about trailing slash at 
http://httpd.apache.org/docs-2.0/mod/mod_dir.html.en#directoryslash


-- 
Yankl
Tiny IT guy.
100 % Micro$oft free.
Registered linux users 181086
URL: http://yankele.com
---
To mess up a Linux box, you need to work at it; to mess up your Windows
box, you just need to work on it.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache

2004-09-09 Thread cervixcouch
> On Thu, 9 Sep 2004 18:19:03 -0400
> JoeHill disseminated the following:
>
>> > Does anyone happen to know what needs to be configured in Apache so
>> that
>> > the trailing "/" doesn't need to be in a URL in order for the page to
load?
>> >
>> > currently, if I type in http://www.mysite.org/mypage, I get an error
message saying that I don't have access to /mypage.
>> >
>> > If I type in http://www.mysite.org/mypage/ the page loads just fine.
>> >
>> > Any ideas on how to fix this?
>> You need to have a default page to load, probably. Should be called
'index.html', off the root of the server, ie. /var/www/html/index.html (or
>> .php or whatever).
>

there is an file "index.html" at http://www.mysite.org/mypage and it loads
fine without the trailing "/"

There is also an "index.php" file under /mypage.


> ...sorry, not off the root of the server...me not reading good :-\
>
> The thing is, http://www.mysite.org/mypage is looking for a page to load
called
> 'mypage', which of course does not exist, it's a directory. Loading
www.mysite.org automagically looks for 'index.html' or the like, but as
soon as
> you add a dir off the root, you need to add that trailing /. I'm not
sure
> this
> is something to be 'fixed', I believe it is normal behaviour.
>
> Blast me to hell if I am wrong ;-)



When I type in http://www.mysite.org, the browser appends a "/" in the
address bar when the page loads.

On another server, I have Squirrelmail running and can access that by typing
http://www.mysite.org/squirrelmail.  Same story, the browser appends a "/"
in the address bar when the page loads

But when I try type in http://www.mysite.org/mypage I get the error message.

Obviously, something is happening on the other server if I can type the
directory name without the trailing "/" and apache knows to look for the
index.php file in that directory.





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache

2004-09-09 Thread JoeHill
On Thu, 9 Sep 2004 18:19:03 -0400
JoeHill disseminated the following:

> > Does anyone happen to know what needs to be configured in Apache so that
> > the trailing "/" doesn't need to be in a URL in order for the page to
> > load?
> > 
> > currently, if I type in http://www.mysite.org/mypage, I get an error
> > message saying that I don't have access to /mypage.
> > 
> > If I type in http://www.mysite.org/mypage/ the page loads just fine.
> > 
> > Any ideas on how to fix this?
> 
> You need to have a default page to load, probably. Should be called
> 'index.html', off the root of the server, ie. /var/www/html/index.html (or
> .php or whatever).

...sorry, not off the root of the server...me not reading good :-\

The thing is, http://www.mysite.org/mypage is looking for a page to load called
'mypage', which of course does not exist, it's a directory. Loading
www.mysite.org automagically looks for 'index.html' or the like, but as soon as
you add a dir off the root, you need to add that trailing /. I'm not sure this
is something to be 'fixed', I believe it is normal behaviour.

Blast me to hell if I am wrong ;-)

-- 
JoeHill RLU #282046 /  www.freeyourmachine.org
18:26:38 up 36 days, 18:12, 8 users, load average: 0.05, 0.02, 0.09
+++
"Behind every great fortune is a crime." -- Balzac


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache

2004-09-09 Thread JoeHill
On Thu, 9 Sep 2004 17:25:55 -0400 (EDT)
[EMAIL PROTECTED] disseminated the following:

> Does anyone happen to know what needs to be configured in Apache so that
> the trailing "/" doesn't need to be in a URL in order for the page to
> load?
> 
> currently, if I type in http://www.mysite.org/mypage, I get an error
> message saying that I don't have access to /mypage.
> 
> If I type in http://www.mysite.org/mypage/ the page loads just fine.
> 
> Any ideas on how to fix this?

You need to have a default page to load, probably. Should be called
'index.html', off the root of the server, ie. /var/www/html/index.html (or .php
or whatever).

-- 
JoeHill RLU #282046 /  www.freeyourmachine.org
18:17:11 up 36 days, 18:02, 8 users, load average: 0.09, 0.06, 0.18
+++
"When you give food to the poor, they call you a saint. When you ask why the
poor have no food, they call you a communist." -- Archbishop Helder Camara


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] Apache

2004-09-09 Thread cervixcouch
Does anyone happen to know what needs to be configured in Apache so that
the trailing "/" doesn't need to be in a URL in order for the page to
load?

currently, if I type in http://www.mysite.org/mypage, I get an error
message saying that I don't have access to /mypage.

If I type in http://www.mysite.org/mypage/ the page loads just fine.

Any ideas on how to fix this?


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache and mod_php

2004-09-05 Thread JoeHill
On Sun, 5 Sep 2004 22:02:10 -0400
Ryan Steffes disseminated the following:

> Well, it's solved, but I'm not entirely sure.  I uninstalled everything apache
> and php related that I could see, and went back from scratch and it worked
> just as automagically as before.  I like automagical installs, when they work!

That was my next recommendation, really ;-)

> Thanks for the help.

I am but a grasshopper, you are very welcome.

BTW, minor list-nazi thing, maybe consider snipping your replies a bit to
preserve only the relevant info. Now the list-nazi thing I am a *master* ;-)

-- 
JoeHill RLU #282046 /  www.freeyourmachine.org
22:12:01 up 32 days, 21:57, 10 users, load average: 1.53, 1.40, 1.36
+++
"Well, he might as well have been bombing Denmark." -- Gore Vidal, on the
bombing of Afghanistan after 9/11


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache and mod_php

2004-09-05 Thread Ryan Steffes
On Sun, 5 Sep 2004 20:28:39 -0400, JoeHill <[EMAIL PROTECTED]> wrote:
> On Sun, 5 Sep 2004 20:02:09 -0400
> Ryan Steffes disseminated the following:
> 
> > [07:55:13 rbsteffes]$ urpmi apache-mod_php
> > no package named apache-mod_php
> > [07:55:38 rbsteffes]$ urpmi apache-mod-php
> > no package named apache-mod-php
> >
> >
> > There's one for apache2, but not for apache.  I said what the heck and
> > let urpmi install apache2 since basically all I need the server for is
> > mythweb and nothing changed except the packages I have installed.
> 
> ...ah, yes, didn't notice you were not using Apache2. Now that you've got
> Apache2 running and apache2-mod-php installed, you may need to do a 'service
> httpd restart'.
> 
> --
> JoeHill RLU #282046 /  www.freeyourmachine.org
> 20:22:37 up 32 days, 20:07, 10 users, load average: 1.52, 0.41, 0.18
> +++
> "Well, he might as well have been bombing Denmark." -- Gore Vidal, on the
> bombing of Afghanistan after 9/11
> 
> 
> 
> 
> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com
> Join the Club : http://www.mandrakeclub.com
> 
> 
> 
> 

Well, it's solved, but I'm not entirely sure.  I uninstalled
everything apache and php related that I could see, and went back from
scratch and it worked just as automagically as before.  I like
automagical installs, when they work!

Thanks for the help.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache and mod_php

2004-09-05 Thread JoeHill
On Sun, 5 Sep 2004 20:02:09 -0400
Ryan Steffes disseminated the following:

> [07:55:13 rbsteffes]$ urpmi apache-mod_php
> no package named apache-mod_php
> [07:55:38 rbsteffes]$ urpmi apache-mod-php
> no package named apache-mod-php
> 
> 
> There's one for apache2, but not for apache.  I said what the heck and
> let urpmi install apache2 since basically all I need the server for is
> mythweb and nothing changed except the packages I have installed.

...ah, yes, didn't notice you were not using Apache2. Now that you've got
Apache2 running and apache2-mod-php installed, you may need to do a 'service
httpd restart'.

-- 
JoeHill RLU #282046 /  www.freeyourmachine.org
20:22:37 up 32 days, 20:07, 10 users, load average: 1.52, 0.41, 0.18
+++
"Well, he might as well have been bombing Denmark." -- Gore Vidal, on the
bombing of Afghanistan after 9/11


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache and mod_php

2004-09-05 Thread Ryan Steffes
On Sun, 5 Sep 2004 19:38:51 -0400, JoeHill <[EMAIL PROTECTED]> wrote:
> On Sun, 5 Sep 2004 19:26:27 -0400
> Ryan Steffes disseminated the following:
> 
> > I had to recently rebuild my system as a result of my own stupidity
> > and now I can't get php to work with apache.  I don't remember doing
> > anything other than urpmi before, so I have no clue why it wouldn't
> > work.
> 
> urpmi apache-mod-php
> 
> --
> JoeHill RLU #282046 /  www.freeyourmachine.org
> 19:38:25 up 32 days, 19:23, 11 users, load average: 0.21, 0.19, 0.14
> +++
> Whatever you do will be insignificant, but it is very important that you do it.
> -- Gandhi
> 
> 
> 
> 
> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com
> Join the Club : http://www.mandrakeclub.com
> 
> 
> 
> 
[07:55:13 rbsteffes]$ urpmi apache-mod_php
no package named apache-mod_php
[07:55:38 rbsteffes]$ urpmi apache-mod-php
no package named apache-mod-php


There's one for apache2, but not for apache.  I said what the heck and
let urpmi install apache2 since basically all I need the server for is
mythweb and nothing changed except the packages I have installed.

[08:01:17 rbsteffes]$ rpm -qa|grep apache
apache-1.3.29-1.2.100mdk
apache2-common-2.0.48-6.3.100mdk
apache-conf-2.0.48-2mdk
apache-mod_perl-1.3.29_1.29-3.1.100mdk
apache2-modules-2.0.48-6.3.100mdk
apache2-mod_php-2.0.48_4.3.4-1mdk
apache-modules-1.3.29-1.2.100mdk
apache2-2.0.48-6.3.100mdk
[08:01:44 rbsteffes]$ rpm -qa|grep php   
mod_php-4.3.4-1mdk
apache2-mod_php-2.0.48_4.3.4-1mdk
php-ini-4.3.4-1mdk
libphp_common432-4.3.4-4.1.100mdk
[08:01:52 rbsteffes]$


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache and mod_php

2004-09-05 Thread JoeHill
On Sun, 5 Sep 2004 19:26:27 -0400
Ryan Steffes disseminated the following:

> I had to recently rebuild my system as a result of my own stupidity
> and now I can't get php to work with apache.  I don't remember doing
> anything other than urpmi before, so I have no clue why it wouldn't
> work.

urpmi apache-mod-php

-- 
JoeHill RLU #282046 /  www.freeyourmachine.org
19:38:25 up 32 days, 19:23, 11 users, load average: 0.21, 0.19, 0.14
+++
Whatever you do will be insignificant, but it is very important that you do it.
-- Gandhi


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] Apache and mod_php

2004-09-05 Thread Ryan Steffes
I had to recently rebuild my system as a result of my own stupidity
and now I can't get php to work with apache.  I don't remember doing
anything other than urpmi before, so I have no clue why it wouldn't
work.

[07:19:31 rpms]$ rpm -qa|grep php
mod_php-4.3.4-1mdk
php-ini-4.3.4-1mdk
libphp_common432-4.3.4-4.1.100mdk
[07:19:53 rpms]$ rpm -qa|grep apache
apache-1.3.29-1.2.100mdk
apache2-common-2.0.48-6.3.100mdk
apache-conf-2.0.48-2mdk
apache-mod_perl-1.3.29_1.29-3.1.100mdk
apache-modules-1.3.29-1.2.100mdk


When I try and open a php file it just tries to offer it up for download.

I'm not entirely sure what to look for in the conf files, but this
looks reasonable:

[07:25:23 conf]$ grep php *
apache-mime.types:application/x-php php php3 php4
commonhttpd.conf:DirectoryIndex index.html index.html.var
index.php index.php3 index.shtml index.cgi index.pl index.htm
Default.htm default.htm index.xml
commonhttpd.conf:AddIcon /icons/p.png .pl .py .php .php3
commonhttpd.conf.orig:DirectoryIndex index.html index.html.var
index.php index.php3 index.shtml index.cgi index.pl index.htm
Default.htm default.htm index.xml
commonhttpd.conf.orig:AddIcon /icons/p.png .pl .py .php .php3
httpd2.conf:# cgi or php files
httpd.conf:LoadModule php4_moduleextramodules/libphp4.so
httpd.conf:AddModule mod_php4.c
httpd.conf:# cgi or php files
httpd.conf:Include  conf/addon-modules/php.conf
httpd-perl.conf:LoadModule php4_moduleextramodules/libphp4.so
httpd-perl.conf:AddModule mod_php4.c
httpd-perl.conf:Include  conf/addon-modules/php.conf


the directory that the files are in is marked executable.  I'm at a
loss.  Any ideas?


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] Apache installation

2004-07-12 Thread Sujit Apte
Folks,
I installed Apache 2.00 from mandrake linux 10.00
I tried to search the directory "htdocs" in apache installation.
I could not locate the apache installation directory..
I tried using find options but I did not.
Can anybody please let me know where apache is installed by default ??
Thanks,
~Sujit..




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache Startup problems

2004-06-13 Thread Job Evers
After a complete reinstall everything seems to be working now.  Not sure what was 
broken, but at this point I am not complaining.  Hopefully it will stay working.

On Sat, 12 Jun 2004 05:16:49 -0400 (EDT)
Job Evers wrote:

> I cannot get Apache to start.  I also don't have any idea what is
> going wrong since it says that it starts ok.  Any advice would be
> lovely.
> 
> [EMAIL PROTECTED] jobevers]# apachectl status
> Apache is *not* running.
> Use /usr/sbin/apachectl extendedstatus for more information.
> [EMAIL PROTECTED] jobevers]# apachectl start
> Starting httpd2:[  OK 
> [EMAIL PROTECTED] jobevers]# apachectl status
> Apache is *not* running.
> Use /usr/sbin/apachectl extendedstatus for more information.
> 
> 


-- 
Job Evers


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache Startup problems

2004-06-12 Thread Job Evers
On Sat, 12 Jun 2004, Derek Jennings wrote:
>Do your Mandrake Updates.  There was a bug in libapr0 that stopped Apache
>working on some hardware.

I am fully updated but apache still does not want to start up


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache Startup problems

2004-06-12 Thread Derek Jennings
On Saturday 12 Jun 2004 10:16, Job Evers wrote:
> I cannot get Apache to start.  I also don't have any idea what is going
> wrong since it says that it starts ok.  Any advice would be lovely.
>
> [EMAIL PROTECTED] jobevers]# apachectl status
> Apache is *not* running.
> Use /usr/sbin/apachectl extendedstatus for more information.
> [EMAIL PROTECTED] jobevers]# apachectl start
> Starting httpd2:[  OK  ]
> [EMAIL PROTECTED] jobevers]# apachectl status
> Apache is *not* running.
> Use /usr/sbin/apachectl extendedstatus for more information.

Do your Mandrake Updates.There was a bug in libapr0 that stopped Apache 
working on some hardware.

derek

-- 
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] Apache Startup problems

2004-06-12 Thread Job Evers
I cannot get Apache to start.  I also don't have any idea what is going
wrong since it says that it starts ok.  Any advice would be lovely.

[EMAIL PROTECTED] jobevers]# apachectl status
Apache is *not* running.
Use /usr/sbin/apachectl extendedstatus for more information.
[EMAIL PROTECTED] jobevers]# apachectl start
Starting httpd2:[  OK  ]
[EMAIL PROTECTED] jobevers]# apachectl status
Apache is *not* running.
Use /usr/sbin/apachectl extendedstatus for more information.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache

2004-06-10 Thread Mikkel L. Ellertson
OOzy wrote:
How? where? what should I do?

As root, at a command prompt, type "service httpd status".  This will 
tell you if Apache is running.

Mikkel
--
  Do not meddle in the affairs of dragons,
for you are crunchy and taste good with Ketchup!


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache

2004-06-10 Thread OOzy
How? where? what should I do?


On Thu, 2004-06-10 at 18:39, Mikkel L. Ellertson wrote:
> OOzy wrote:
> > How do I know that Apache is installed and is up and running? I have
> > already installed it and when I type "whereis apache2" it finds it for
> > me?
> > 
> service httpd status
> 
> 
> 
> __
> 
> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com
> Join the Club : http://www.mandrakeclub.com
> 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache

2004-06-10 Thread Mikkel L. Ellertson
OOzy wrote:
How do I know that Apache is installed and is up and running? I have
already installed it and when I type "whereis apache2" it finds it for
me?
service httpd status


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] Apache

2004-06-10 Thread OOzy
How do I know that Apache is installed and is up and running? I have
already installed it and when I type "whereis apache2" it finds it for
me?



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



RE: [newbie] apache making me batty

2004-05-11 Thread Bill Shirley
chmod o+x /home/*

is all you need for the users. It allows the world
to enter the directories but not list them.  I
would recommend:

find /home -type d -name public_html -exec chmod 2750 {} \;
find /home -type d -name public_html -exec chown -R .apache {} \;

which sets the group sticky bit on the public_html directories.
All new files/directories created in public_html will have group
apache.

HTH,
Bill Shirley

PS.  It is secure if everything in ~/ has the correct permissions.

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Todd Slater
> Sent: Monday, May 10, 2004 4:30 PM
> To: Mandrake Newbie
> Subject: Re: [newbie] apache making me batty
> 
> 
> On Mon, May 10, 2004 at 03:27:10PM -0400, Todd Slater wrote:
> > On a 9.1 box running highest level security with Apache 
> 1.3. I'm trying
> > to access the ~/username directory but keep getting 403 
> forbidden error.
> > 
> > ~/public_html is readable by all
> > ~/public_html/index.html is readable by all
> > 
> > In /etc/httpd/conf/commonhttpd.conf I have:
> > 
> > 
> > AllowOverride All
> > Options MultiViews -Indexes Includes FollowSymLinks
> > 
> >   Order allow,deny
> >   Allow from all
> > 
> > 
> > 
> > which seems to be pretty standard. I don't see anything in 
> the apache
> > logs other than the 403 errors. Anybody know what's up with that?
> 
> Well it seems that ~/ needs to be +x, too, so chmod 755 ~/.  It works,
> but do you reckon it's safe? Also, msec's bound to change permissions
> any second now, back to the archives!
> 
> Todd
> 
> -- 
> Name that tune #18: When you own a big chunk of the bloody third world
> the babies just come with the scenery.
> 
> 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] apache making me batty

2004-05-10 Thread Todd Slater
On Mon, May 10, 2004 at 03:27:10PM -0400, Todd Slater wrote:
> On a 9.1 box running highest level security with Apache 1.3. I'm trying
> to access the ~/username directory but keep getting 403 forbidden error.
> 
> ~/public_html is readable by all
> ~/public_html/index.html is readable by all
> 
> In /etc/httpd/conf/commonhttpd.conf I have:
> 
> 
> AllowOverride All
> Options MultiViews -Indexes Includes FollowSymLinks
> 
>   Order allow,deny
>   Allow from all
> 
> 
> 
> which seems to be pretty standard. I don't see anything in the apache
> logs other than the 403 errors. Anybody know what's up with that?

Well it seems that ~/ needs to be +x, too, so chmod 755 ~/.  It works,
but do you reckon it's safe? Also, msec's bound to change permissions
any second now, back to the archives!

Todd

-- 
Name that tune #18: When you own a big chunk of the bloody third world
the babies just come with the scenery.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] apache making me batty

2004-05-10 Thread Todd Slater
On a 9.1 box running highest level security with Apache 1.3. I'm trying
to access the ~/username directory but keep getting 403 forbidden error.

~/public_html is readable by all
~/public_html/index.html is readable by all

In /etc/httpd/conf/commonhttpd.conf I have:


AllowOverride All
Options MultiViews -Indexes Includes FollowSymLinks

  Order allow,deny
  Allow from all



which seems to be pretty standard. I don't see anything in the apache
logs other than the 403 errors. Anybody know what's up with that?

Todd

-- 
Let us be utopian for a moment so that when we get realistic again it
is not that "realism" so useful to the Establishment in discouraging
action. -Howard Zinn


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Apache Virtual Hosting

2004-02-18 Thread frankieh
There really isn't that much to tell..

Install apache2,
then go to /etc/httpd/conf/vhosts
and edit Vhosts.conf
For each virt domain, add something like this:


ServerAdmin [EMAIL PROTECTED]
DocumentRoot /home/httpd/webstuff/www/web
ServerName somewhere.com
ServerAlias www.somewhere.com
ScriptAlias /cgi-bin/ /home/httpd/webstuff/www/cgi-bin/
   
  Options -Indexes FollowSymLinks MultiViews
  AllowOverride All
  Order deny,allow
  Allow from all

   
   AllowOverride All
   Options ExecCGI
   Order deny,allow
   Allow from all

ErrorLog /home/httpd/webstuff/server_logs/error_log
#CustomLog /home/httpd/webstuff/server_logs/access_log common

where 123.123.123.123 is the IP address of the interface serving the 
domain..
on apache1.3 I could just have that as an *, but for some reason that 
doesn't work with apache2.

you can serve the pages for each domain anywhere you want.. just create 
the dir structure, make sure its readable by apache
and edit the above parts to suit.

hope that helps..

rgds

Franki





Lee Wiggers wrote:

Hi all

I followed a thread a few weeks ago that explained step by step how
to set up apache2 with virtual hosts.
I was ready to move aeis.tv there to play with it, and somehow
deleted the excellent instructions. (usual procrastination)
Could some kind person go over it slowly for me?

I get frustrated translating the Apache instructions because, as
usual, I don't know as much as they assumelike:
What directory does Apache serve from and what entrys in conf need
to be changed how?
Thanks

Lee


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] Apache Virtual Hosting

2004-02-18 Thread Lee Wiggers
Hi all

I followed a thread a few weeks ago that explained step by step how
to set up apache2 with virtual hosts.

I was ready to move aeis.tv there to play with it, and somehow
deleted the excellent instructions. (usual procrastination)

Could some kind person go over it slowly for me?

I get frustrated translating the Apache instructions because, as
usual, I don't know as much as they assumelike:

What directory does Apache serve from and what entrys in conf need
to be changed how?

Thanks

Lee

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] Apache 1.3, mod_perl on MDK 9.1

2004-01-27 Thread Todd Slater
I'm trying to set up an Apache module that depends on mod_perl and
Apache 1.3 (does not play well with the mod_perl in Apache 2). I ran
/usr/sbin/advxrun1.3 to switch to Apache 1.3, but it returns an error
about Invalid command 'PerlSetEnv', perhaps mis-spelled or defined by a
module not included in the server configuration. I am told that means
the mod_perl is either not installed or enabled.

I know I have the mod_perl for Apache 1.3. How can I find out if it's
enabled, or how do I enable it?

Todd

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache 2.x server configuration question

2004-01-11 Thread Troy T. Hall
Thanks Derek, That did the trick.
Troy T. Hall

Registered Linux User #342150
- Original Message - 
From: "Derek Jennings" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, January 11, 2004 0619 N6REJ
Subject: Re: [newbie] Apache 2.x server configuration question


> On Sunday 11 Jan 2004 11:42 am, Troy T. Hall wrote:
> > I'm wanting to use the apache server to host 2 domains from the same
> > dynamic ip, that is so far staying very static ( 3 months ).  But it is
> > nat'd. ( 192.168.123.197 ). the thing I'm not sure of is how do I tell
> > apache to distinguish between the default setup which has all the nice
> > documentation links and a ton of directories that I'm just starting to
> > investigate so don't want to lose yet, and the two seperate places where
> > I'll put the other domain files?
> >
> > I tried creating a directory for www.camplighthouse.org ( the server
name
> > is Genesis.camplighthouse.org as /home/camplighthouse/public_html and
told
> > apache to use it as a virtual host, but when I go there I still see the
> > same default webpage even though I've put a junk index.html page there.
> > Would someone please point me in the right general direction?
> >
> > Troy T. Hall
>
> In /etc/httpd/2.0/conf/vhosts
> For each virtual host add  stanzas like this :-
>
> NameVirtualHost www.yourdomain.net
> 
> ServerName www.yourdomain.net
> ServerAlias www.yourdomain.net *.yourdomain.net yourdomain.net
> #ServerPath /domain
> DocumentRoot /var/www/html
> 
>
> 
> ServerName www.camplighthouse.org
> ServerAlias camplighthouse.org  *www.camplighthouse.org
> #ServerPath /domain
> DocumentRoot /var/www/html/camplighthouse
> 
>
> Put your web pages in /var/www/html/camplighthouse
>
>
>
> derek
>
>
> -- 
> --
> www.jennings.homelinux.net
> http://twiki.mdklinuxfaq.org
>
>
>






> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.560 / Virus Database: 352 - Release Date: 1/8/04


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] Apache 2.x server configuration question

2004-01-11 Thread Troy T. Hall



I'm wanting to use the apache server to host 2 
domains from the same dynamic ip, that is so far staying very static ( 3 months 
).  But it is nat'd. ( 192.168.123.197 ). the thing I'm not sure of is how 
do I tell apache to distinguish between the default setup which has all the nice 
documentation links and a ton of directories that I'm just starting to 
investigate so don't want to lose yet, and the two seperate places where I'll 
put the other domain files?
 
I tried creating a directory for www.camplighthouse.org ( the server 
name is Genesis.camplighthouse.org as /home/camplighthouse/public_html and told 
apache to use it as a virtual host, but when I go there I still see the same 
default webpage even though I've put a junk index.html page there.  Would 
someone please point me in the right general direction?
 
Troy T. Hall
 
Registered Linux User #342150
 
---Outgoing mail is certified Virus 
Free.Checked by AVG anti-virus system (http://www.grisoft.com).Version: 6.0.560 / 
Virus Database: 352 - Release Date: 1/8/04


[newbie] Apache question, blocking outside links?

2003-11-26 Thread John Retermeyer
Greetings.

Please excuse this post, as I was not able to find
anything in the faq which mentions script that would
either block outside links from one's own server.

Take such as a link from an offencive or pornographic
website that linked one's web server to its front
page.

Is there a way to block such a link from say
www.pornpictures.com (a bogus address just for
example)
so that all who clicked on this link from the
offencive site would either get an error or be
re-directed?

Thank you for your time.

John.

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] apache and php help needed

2003-11-17 Thread Bryan Phinney
On Sunday 16 November 2003 10:34 pm, Charlie wrote:
> Running mandrake 9.1, mysql 4.0.11a, apache 1.3.27 and php 4.3.0, all right
> of the mandrake 9.1 CD's.
>
> I'm trying to set up PHP to view data pulled from mysql database. I have
> the mysql database up and running fine. (this is on a small home network)
>
> I have apache and php installed but something is not right. Apache service
> shows as running in Mandrake control center, but not in webmin. In webmin
> it says "The Apache root directory /etc/httpd2 does not exist. If you have
> Apache installed, adjust the module configuration to use the correct
> paths."

You need to click the Module Config link on the Apache tab and tell it to use 
the correct httpd.conf file instead of httpd2.conf.  My guess would be that 
you have both Apache 2 and Apache 1.3 installed but are running 1.3.  Webmin 
tries to figure out which version you are running and defaults to 2 if it is 
there, I think.

-- 
Bryan Phinney
Software Test Engineer


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] apache and php help needed

2003-11-17 Thread et
On Monday 17 November 2003 10:33 am, Adolfo Bello wrote:
> On Mon, 2003-11-17 at 04:29, Mike 'yomcat' Welsh wrote:
> > on 17/11/03 3:34 PM, Charlie at [EMAIL PROTECTED] wrote:
> > > The Apache root directory /etc/httpd2 does not exist. If you have
> > > Apache installed, adjust the module configuration to use the correct
> > > paths
> >
> > Edit your httpd.conf file. You might nede to put in the PHP stuff as
> > well.
>
> Add the lines:
>
> LoadModule php4_modulemodules/libphp4.so
> AddType application/x-httpd-php .php
>
>
> Adolfo
first off, he is running apache 1.3, so naturally there is no /etc/httpd2, and 
Mandrake sets up /var/www/http as the doc root if he sets /var/www/http 
as the doc root, and sets webmin to find httpd instead of httpd2, or installs 
apache2 he might have better luck... 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] apache and php help needed

2003-11-17 Thread Adolfo Bello
On Mon, 2003-11-17 at 04:29, Mike 'yomcat' Welsh wrote:
> on 17/11/03 3:34 PM, Charlie at [EMAIL PROTECTED] wrote:
> 
> > The Apache root directory /etc/httpd2 does not exist. If you have
> > Apache installed, adjust the module configuration to use the correct paths
> Edit your httpd.conf file. You might nede to put in the PHP stuff as well.

Add the lines:

LoadModule php4_modulemodules/libphp4.so
AddType application/x-httpd-php .php


Adolfo


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] apache and php help needed

2003-11-17 Thread Mike 'yomcat' Welsh
on 17/11/03 3:34 PM, Charlie at [EMAIL PROTECTED] wrote:

> The Apache root directory /etc/httpd2 does not exist. If you have
> Apache installed, adjust the module configuration to use the correct paths
Edit your httpd.conf file. You might nede to put in the PHP stuff as well.
-- 
Mike "yomcat" Welsh
NZ Tuatara
http://www.nztuatara.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] apache and php help needed

2003-11-16 Thread Charlie
Running mandrake 9.1, mysql 4.0.11a, apache 1.3.27 and php 4.3.0, all right of 
the mandrake 9.1 CD's.

I'm trying to set up PHP to view data pulled from mysql database. I have the 
mysql database up and running fine. (this is on a small home network)

I have apache and php installed but something is not right. Apache service 
shows as running in Mandrake control center, but not in webmin. In webmin it 
says "The Apache root directory /etc/httpd2 does not exist. If you have 
Apache installed, adjust the module configuration to use the correct paths."

Unable to determine what PHP is doing. phpinfo() command does nothing when 
viewed in browser.

I have tried to locate info on various web pages but am still in the dark. I 
am totally new to Apache and PHP and could use any advise.

Thanks,


-- 
 20:22:04 up 3 days,  9:27,  5 users,  load average: 1.23, 0.64, 0.45


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] apache user can't execute outside apache root, why?

2003-11-02 Thread Tobias
Hi,

I'm new to mandrake (9.1) and facing a problem that does not occur on 
my OSX machine. I'm running a perl web interface on apache2. The script 
invokes an executable residing in /usr/local/bin. Now the script 
executes fine when run from commandline but troubles occur when run 
through a browser. I checked "su apache" and discovered that there is 
no way to execute programs from /usr/local/bin even with having set the 
proper permissions (world read and execute) on this directory.
As security on mandrake is still a black box to me i wonder if there is 
any "hidden" gadget preventing apache to execute anything outside the 
apache root directory.
As I said on OSX it worked fine, both from browser and commandline.

best regards
Tobias

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache woes...

2003-09-13 Thread ed tharp
On Fri, 2003-09-12 at 23:44, Trey Sizemore wrote:
> On Fri, 2003-09-12 at 22:49, ed tharp wrote:
> > On Fri, 2003-09-12 at 18:00, Trey Sizemore wrote:
> > > I had Apache2 working on my 9.1 box, but just had to go and upgrade it
> > > from Cooker.  Now it will not start.  I should say that MCC says it's
> > > running (set to start at boot), but pointing to http://localhost takes
> > > my to the clever Australian hosting company.  When I stop and restart
> > > via MCC, a message is displayed that a verifiable hostname could not be
> > > found.  I have looked at the http.conf file and it has localhost set as
> > > the server name.  Where else should I be looking to ensure that
> > > everything is set correctly.  An explicit Apache2/PHP4/MySQL tutorial
> > > would be good (emphasis on Apache2 as it's changed quite a bit since
> > > 1.3.x).
> > what does your /etc/hosts file say for localhost?
> 
> 127.0.0.1 localhost
is this the only NIC in the box?
have you tried any other browsers to see if it is the browser adding the
extension?

h, have you tried to restart httpd from a console to see if you get
any errors? (as root "service httpd restart")
in MCC did you put the folder for the document root? (should be
/var/www/html) and does that document root have an index file? (as
default the Apache that ships with MDK has automagic indexes turned off)
and do you have in /etc/httpd/conf/httpd2.conf a line at the top
defining the server name as anything but localhost?
mine looks like this in the first lines

ServerRoot /etc/httpd/2.0
ServerName ed-tharp.is-a-geek.org

HTH

ET




-- 
++
Mandrake HowTo's & More: http://twiki.mdklinuxfaq.org



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache woes...

2003-09-12 Thread Trey Sizemore
On Fri, 2003-09-12 at 22:49, ed tharp wrote:
> On Fri, 2003-09-12 at 18:00, Trey Sizemore wrote:
> > I had Apache2 working on my 9.1 box, but just had to go and upgrade it
> > from Cooker.  Now it will not start.  I should say that MCC says it's
> > running (set to start at boot), but pointing to http://localhost takes
> > my to the clever Australian hosting company.  When I stop and restart
> > via MCC, a message is displayed that a verifiable hostname could not be
> > found.  I have looked at the http.conf file and it has localhost set as
> > the server name.  Where else should I be looking to ensure that
> > everything is set correctly.  An explicit Apache2/PHP4/MySQL tutorial
> > would be good (emphasis on Apache2 as it's changed quite a bit since
> > 1.3.x).
> what does your /etc/hosts file say for localhost?

127.0.0.1   localhost

-- 
Cheers,
Trey
---

At a given moment I open my eyes and exist.
And before that, during all eternity, what was there?
Nothing.
- Ugo Betti


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache woes...

2003-09-12 Thread ed tharp
On Fri, 2003-09-12 at 18:00, Trey Sizemore wrote:
> I had Apache2 working on my 9.1 box, but just had to go and upgrade it
> from Cooker.  Now it will not start.  I should say that MCC says it's
> running (set to start at boot), but pointing to http://localhost takes
> my to the clever Australian hosting company.  When I stop and restart
> via MCC, a message is displayed that a verifiable hostname could not be
> found.  I have looked at the http.conf file and it has localhost set as
> the server name.  Where else should I be looking to ensure that
> everything is set correctly.  An explicit Apache2/PHP4/MySQL tutorial
> would be good (emphasis on Apache2 as it's changed quite a bit since
> 1.3.x).
what does your /etc/hosts file say for localhost?


-- 
++
Mandrake HowTo's & More: http://twiki.mdklinuxfaq.org



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache woes...

2003-09-12 Thread HaywireMac
On Fri, 12 Sep 2003 20:29:26 -0400
Trey Sizemore <[EMAIL PROTECTED]> uttered:

> No, but perhaps I'll give it a try.  What's the command again to
> update everything if I have Cooker sources?


If *all* your sources are cooker, IIRC,

urpmi --update --auto-select

-- 
HaywireMac
Registered Linux user #282046
Homepage: www.orderinchaos.org
++
Mandrake HowTo's & More: http://twiki.mdklinuxfaq.org
++
Depend on the rabbit's foot if you will, but remember, it didn't help
the rabbit.
-- R.E. Shay

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache woes...

2003-09-12 Thread Trey Sizemore
On Fri, 2003-09-12 at 18:24, HaywireMac wrote:
> On Fri, 12 Sep 2003 18:00:54 -0400
> Trey Sizemore <[EMAIL PROTECTED]> uttered:
> 
> > I had Apache2 working on my 9.1 box, but just had to go and upgrade it
> > from Cooker.
> 
> I think that was a bad idea. The Apache Cooker packages would depend on
> other Cooker packages, no?
> 
> I'm surprised it even did the install without a complaint...you know,
> the whole dependency thing.
> 
> Or are you saying you upgraded your whole system from cooker?

No, but perhaps I'll give it a try.  What's the command again to update
everything if I have Cooker sources?

Thanks.

-- 
Cheers,
Trey
---

The beauty of the soul shines out when a man bears with
composure one heavy mischance after another, not because he
does not feel them, but because he is a man of high and heroic temper.
- Aristotle


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache woes...

2003-09-12 Thread HaywireMac
On Fri, 12 Sep 2003 18:00:54 -0400
Trey Sizemore <[EMAIL PROTECTED]> uttered:

> I had Apache2 working on my 9.1 box, but just had to go and upgrade it
> from Cooker.

I think that was a bad idea. The Apache Cooker packages would depend on
other Cooker packages, no?

I'm surprised it even did the install without a complaint...you know,
the whole dependency thing.

Or are you saying you upgraded your whole system from cooker?

-- 
HaywireMac
Registered Linux user #282046
Homepage: www.orderinchaos.org
++
Mandrake HowTo's & More: http://twiki.mdklinuxfaq.org
++
There is no sin but ignorance.
-- Christopher Marlowe

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] Apache woes...

2003-09-12 Thread Trey Sizemore
I had Apache2 working on my 9.1 box, but just had to go and upgrade it
from Cooker.  Now it will not start.  I should say that MCC says it's
running (set to start at boot), but pointing to http://localhost takes
my to the clever Australian hosting company.  When I stop and restart
via MCC, a message is displayed that a verifiable hostname could not be
found.  I have looked at the http.conf file and it has localhost set as
the server name.  Where else should I be looking to ensure that
everything is set correctly.  An explicit Apache2/PHP4/MySQL tutorial
would be good (emphasis on Apache2 as it's changed quite a bit since
1.3.x).

-- 
Cheers,
Trey
---

At a given moment I open my eyes and exist.
And before that, during all eternity, what was there?
Nothing.
- Ugo Betti


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache: where to begin?

2003-09-01 Thread Brant Fitzsimmons
_nasturtium wrote:

First, my apologies, but I've been reading too much Chaucer.

On Sun, 31 Aug 2003 09:51 am, Brant Fitzsimmons wrote:
 

You can also place files in your home directory to be served by Apache.
Create a directory called "pubic_html" in your home directory and start
adding files.  You don't even need root access to do this.
   

May I suggest "public_html" instead?
 

You can then view those file by going to
http://localhost/~yourhomedirectoryname/
Have fun.
   

Regards,
_nasturtium
ROTFLMAO! :-D

Sorry. :-[

--
Brant Fitzsimmons
[EMAIL PROTECTED]
___
Linux user #322847 | Linux machine #207465 | http://counter.li.org/
   AMD Duron 1.3GHz | Mandrake 9.1 | Kernel 2.4.21-0.16mm-mdk
   KDE 3.1.3 | Mozilla 1.4 Mail Client
Uptime:
17:05:00 up 3 days, 22:06,  1 user,  load average: 0.02, 0.03, 0.01
___
"All truth passes through three stages. First, it is ridiculed.
Second, it is violently opposed. Third, it is accepted as being
self-evident."
-Arthur Schopenhauer (1788-1860)


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache: where to begin?

2003-08-30 Thread Brant Fitzsimmons
Stephen Kuhn wrote:

On Sat, 2003-08-30 at 21:40, Marco Verheul wrote:
 

Hi all,

I just installed Apache2 and when I enter http://localhost in my browser
it shows me the apache page, so installation was succesfull. To which
directory does http://localhost point? In other words, where do I load
my webpages so i can use PHP locally on my PC?
I installed with the regular RPM's from de Mandrake (9.1) cd's.

Marco
   

All yer web stuff lives in /var/www

...if you browse through that directory you'll find

[EMAIL PROTECTED] www]$ ls -CFal
total 9
drwxr-xr-x7 root root  168 Aug 27 22:56 ./
drwxr-xr-x   21 root root  536 Aug 27 23:27 ../
drwxr-xr-x2 root root   72 Aug 27 22:56 cgi-bin/
drwxr-xr-x3 root root 1024 Aug 27 22:56 error/
drwxr-xr-x3 root root  208 Aug 27 22:56 html/
drwxr-xr-x3 root root 4952 Aug 27 22:56 icons/
drwxr-xr-x3 root root  152 Aug 27 22:59 perl/
So...whatever you want to start digging into - well, it's there...the
obvious place to start would be in the html directory...
Here's a hint, though, mate...if you're just playing around and testing,
why not create subdirectories off like:
/var/www/html/test/mysite01
/var/www/html/test/mysite02
...and so on - this gives you the ability to maintain some semblance of
order and neatness in the /var/www/html directory - and you can very
easily delete your failures without affecting anything else...ay?


You can also place files in your home directory to be served by Apache.  
Create a directory called "pubic_html" in your home directory and start 
adding files.  You don't even need root access to do this.

You can then view those file by going to 
http://localhost/~yourhomedirectoryname/

Have fun.

--
Brant Fitzsimmons
[EMAIL PROTECTED]
___
Linux user #322847 | Linux machine #207465 | http://counter.li.org/
   AMD Duron 1.3GHz | Mandrake 9.1 | Kernel 2.4.21-0.16mm-mdk
   KDE 3.1.3 | Mozilla 1.4 Mail Client
Uptime:
19:45:01 up 2 days, 46 min,  1 user,  load average: 0.22, 0.16, 0.07
___
"All truth passes through three stages. First, it is ridiculed.
Second, it is violently opposed. Third, it is accepted as being
self-evident."
-Arthur Schopenhauer (1788-1860)


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache: where to begin?

2003-08-30 Thread Stephen Kuhn
On Sat, 2003-08-30 at 21:40, Marco Verheul wrote:
> Hi all,
> 
> I just installed Apache2 and when I enter http://localhost in my browser
> it shows me the apache page, so installation was succesfull. To which
> directory does http://localhost point? In other words, where do I load
> my webpages so i can use PHP locally on my PC?
> 
> I installed with the regular RPM's from de Mandrake (9.1) cd's.
> 
> Marco

All yer web stuff lives in /var/www

...if you browse through that directory you'll find

[EMAIL PROTECTED] www]$ ls -CFal
total 9
drwxr-xr-x7 root root  168 Aug 27 22:56 ./
drwxr-xr-x   21 root root  536 Aug 27 23:27 ../
drwxr-xr-x2 root root   72 Aug 27 22:56 cgi-bin/
drwxr-xr-x3 root root 1024 Aug 27 22:56 error/
drwxr-xr-x3 root root  208 Aug 27 22:56 html/
drwxr-xr-x3 root root 4952 Aug 27 22:56 icons/
drwxr-xr-x3 root root  152 Aug 27 22:59 perl/

So...whatever you want to start digging into - well, it's there...the
obvious place to start would be in the html directory...

Here's a hint, though, mate...if you're just playing around and testing,
why not create subdirectories off like:

/var/www/html/test/mysite01
/var/www/html/test/mysite02

...and so on - this gives you the ability to maintain some semblance of
order and neatness in the /var/www/html directory - and you can very
easily delete your failures without affecting anything else...ay?

-- 
Sat Aug 30 21:40:01 EST 2003
 21:40:01 up 5 days, 11:26,  3 users,  load average: 0.79, 0.87, 0.77
-
|____  | illawarra computer services|
|   /-oo /| |'-.   | http://kma.0catch.com  |
|  .\__/ || |   |  ||
|   _ /  `._ \|_|_.-'  | stephen kuhn   |
|  | /  \__.`=._) (_   | email: [EMAIL PROTECTED] |
-
  linux user #:267497 linux machine #:194239 * MDK 9.1+ & RH 9  
  Mandrake Linux Kernel 2.4.21-13mdk Cooker for i586
-
 * This message was composed on a 100% Microsoft free computer *

panic("kmem_cache_init(): Offsets are wrong - I've been messed with!");
2.2.16 /usr/src/linux/mm/slab.c

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache: where to begin?

2003-08-30 Thread Todd Slater
On Sat, Aug 30, 2003 at 11:40:00AM +, Marco Verheul wrote:
> Hi all,
> 
> I just installed Apache2 and when I enter http://localhost in my browser
> it shows me the apache page, so installation was succesfull. To which
> directory does http://localhost point? In other words, where do I load
> my webpages so i can use PHP locally on my PC?

/var/www/html

t

-- 
Zinn-Chomsky 2004

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache: where to begin?

2003-08-30 Thread HaywireMac
On Sat, 30 Aug 2003 11:40:00 +
Marco Verheul <[EMAIL PROTECTED]> uttered:

> I just installed Apache2 and when I enter http://localhost in my
> browser it shows me the apache page, so installation was succesfull.
> To which directory does http://localhost point? In other words, where
> do I load my webpages so i can use PHP locally on my PC?
> 
> I installed with the regular RPM's from de Mandrake (9.1) cd's

Okay, I'm not going to say RTFM, I never do, but I'm gonna make ya
do *some* work after giving you a good hint.

Look in /etc...

when you want to know where the config file is for almost anything, look
in /etc (everything that controls...) ;-)

-- 
HaywireMac
Registered Linux user #282046
Homepage: nodex.sytes.net
++
One learns to itch where one can scratch.
-- Ernest Bramah

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache: where to begin?

2003-08-30 Thread Lee Wiggers
webroot is var/www/html.

su then go get your files.

Lee

On Sat, 30 Aug 2003 11:40:00 +
Marco Verheul <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> I just installed Apache2 and when I enter http://localhost in my browser
> it shows me the apache page, so installation was succesfull. To which
> directory does http://localhost point? In other words, where do I load
> my webpages so i can use PHP locally on my PC?
> 
> I installed with the regular RPM's from de Mandrake (9.1) cd's.
> 
> Marco
> -- 
> "Tell me about these oppressed masses. What's got them so worked up ?"
> "They're upset, sir, because they are so poor that they are forced to
> have children merely to provide a cheap alternative to turkey at Christmas."
> 
> Registered Linux user #268279
> 
> * This message is composed on a 100% Microsoft free computer *
> 
> 
> 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache: where to begin?

2003-08-30 Thread Derek Jennings
On Saturday 30 Aug 2003 12:40 pm, Marco Verheul wrote:
> Hi all,
>
> I just installed Apache2 and when I enter http://localhost in my browser
> it shows me the apache page, so installation was succesfull. To which
> directory does http://localhost point? In other words, where do I load
> my webpages so i can use PHP locally on my PC?
>
> I installed with the regular RPM's from de Mandrake (9.1) cd's.
>
> Marco

/var/www/html

If you want to use php you will also need apache2-mod_php RPM installed

derek
-- 
--
www.jennings.homelinux.net


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] Apache: where to begin?

2003-08-30 Thread Marco Verheul
Hi all,

I just installed Apache2 and when I enter http://localhost in my browser
it shows me the apache page, so installation was succesfull. To which
directory does http://localhost point? In other words, where do I load
my webpages so i can use PHP locally on my PC?

I installed with the regular RPM's from de Mandrake (9.1) cd's.

Marco
-- 
"Tell me about these oppressed masses. What's got them so worked up ?"
"They're upset, sir, because they are so poor that they are forced to
have children merely to provide a cheap alternative to turkey at Christmas."

Registered Linux user #268279

* This message is composed on a 100% Microsoft free computer *


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache/MySQL/PHP triad

2003-08-14 Thread Todd Slater
On Thu, Aug 07, 2003 at 11:06:30PM +, Marco Verheul wrote:
> Hi all,
> 
> Is there anything like Apache2Triad ( see
> http://sourceforge.net/projects/apache2triad/ ) available for Linux, or
> do we need to install and configure it all piece by piece?
> 
> I don't mind reading a book about it and i know i got it all on my cd's,
> but i don't quite know where to get started. I want to get into building
> dynamic websites and i want to have a local setup on my pc so i can run
> it there and test the whole lot. I'm just a bit overwelmed about the
> fast amount of red-tape to get started (which versions to use, wich
> packages to install or ignore etc.).
> 
> Can anybody recommend something...?
> 
> Marco

If you installed the server packages, you already have everything you
need. You may need to start yourSQL, but there's no great need to
"configure" perl, php, or yourSQL. Apache may need some configurin',
though.

I don't know how much you know about apache etc. but the webroot on
Mandrake is /var/www/html/. The apache conf files are in
/etc/httpd/conf/.

Todd

-- 
Anybody but a Republican or Democrat 2004

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] Apache/MySQL/PHP triad

2003-08-14 Thread Marco Verheul
Hi all,

Is there anything like Apache2Triad ( see
http://sourceforge.net/projects/apache2triad/ ) available for Linux, or
do we need to install and configure it all piece by piece?

I don't mind reading a book about it and i know i got it all on my cd's,
but i don't quite know where to get started. I want to get into building
dynamic websites and i want to have a local setup on my pc so i can run
it there and test the whole lot. I'm just a bit overwelmed about the
fast amount of red-tape to get started (which versions to use, wich
packages to install or ignore etc.).

Can anybody recommend something...?

Marco
-- 
Registered Linux user #268279

* This message is composed on a 100% Microsoft free computer *


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache/MySQL/PHP triad

2003-08-11 Thread Marco Verheul
On Fri, 2003-08-08 at 00:40, Todd Slater wrote:
> On Thu, Aug 07, 2003 at 11:06:30PM +, Marco Verheul wrote:
> > Hi all,
> > 
> > Is there anything like Apache2Triad ( see
> > http://sourceforge.net/projects/apache2triad/ ) available for Linux, or
> > do we need to install and configure it all piece by piece?
> > 
> > I don't mind reading a book about it and i know i got it all on my cd's,
> > but i don't quite know where to get started. I want to get into building
> > dynamic websites and i want to have a local setup on my pc so i can run
> > it there and test the whole lot. I'm just a bit overwelmed about the
> > fast amount of red-tape to get started (which versions to use, wich
> > packages to install or ignore etc.).
> > 
> > Can anybody recommend something...?
> > 
> > Marco
> 
> If you installed the server packages, you already have everything you
> need. You may need to start yourSQL, but there's no great need to
> "configure" perl, php, or yourSQL. Apache may need some configurin',
> though.
> 
> I don't know how much you know about apache etc. but the webroot on
> Mandrake is /var/www/html/. The apache conf files are in
> /etc/httpd/conf/.
> 
> Todd

Thanks Todd,

I guess i will survive. I will just do all the installations and go from
there. I ordered a nice book with handy 'projects' in it. If i read
previous mails on the topic right it seems Apache 2 works out of the
box. But i guess i will be doing some tweaking anyway.

Bye, Marco
-- 
Registered Linux user #268279

* This message is composed on a 100% Microsoft free computer *


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] apache setup and archives

2003-08-04 Thread John Wilson
On August 3, 2003 07:40 pm, Dennis Myers wrote:

> Not sure what the problem was for you, but Apache Extranet server supplied
> with 9.0 and 9.1 and 9.2  did most definitely work out of the box for me.
> All I had to do was put my html in the cgi-bin and it was off and running.
> Shorewall was not a problem, I just checked the box for web server and all
> was accessible.  I did have to tell my ISP that the IP address in question
> should be resolved to my web page name and after a day I could access the
> site with just the .com name.  Apache Extranet took no extra work to config
> it just worked.  Gotta love the Mandrake.

Oh, I do love the Mandrake!

I'm increasingly suspecting the Dell box that I've got it all on as the 
culprit for a lot of the problems I'm having.  Just for a lark I installed 
everything on a much newer Sony and it all came up without a hitch, except 
for having to hand configure the things that MCC was about to bork again.

The MCC issue is kinda curious.  It detects the NICs correctly and, unlike XP, 
even identifies them properly.  It sees the ISP on eth1 and the internal 
network on eth0 but the moment I let it go it reverses everything.  I'm also 
wondering if it's little issue is that they're both DHCP assigned.  Still 
it's a pain in the buttocks.

I'll have another look at it all in September when I stop working 6 days a 
week and grab a couple of weeks off. :-)

ttfn

John

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] apache setup and archives

2003-08-04 Thread Todd Slater
I don't know as I don't use vhosts, but I actually like the set up of
2.x better. The configuration seems a bit more modular. I'll poke around
and see if I can find a sample vhosts file on here somewhere; I'm
guessing it uses the same format.

Todd

On Mon, Aug 04, 2003 at 09:52:33PM +0800, Frankie wrote:
> yeah, thats a mandrake 9.0 box...
> 
> I have been dreading the switch to apache 2...
> 
> can you tell me how much differnce there is in the config files of 1.3x and
> 2.x?
> 
> I mean like vhosts.conf stuff, does it use the same format??
> 
> 
> rgds
> 
> Franki
> 

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


RE: [newbie] apache setup and archives

2003-08-04 Thread Frankie
yeah, thats a mandrake 9.0 box...

I have been dreading the switch to apache 2...

can you tell me how much differnce there is in the config files of 1.3x and
2.x?

I mean like vhosts.conf stuff, does it use the same format??


rgds

Franki

>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Behalf Of Todd Slater
>Sent: Monday, 4 August 2003 8:06 PM
>To: [EMAIL PROTECTED]
>Subject: Re: [newbie] apache setup and archives
>
>
>On Mon, Aug 04, 2003 at 06:22:36PM +0800, Frankie wrote:
>> hmmm, well I have the same thing, eth0 for internal, eth1 for external..
>>
>> I have apache advx working for the most part, although I did suffer with
>> some probs running mod_perl apps, they only work with :8200 in
>the url, (I
>> use virtual named hosting).
>
>You must be running 8.2 or 9.0 because this has changed in 9.1, i.e. you
>don't have to specify the port number. I used Mod_survey in 8.2 and had
>to specify the port but on my 9.1 install I didn't have to, which caused
>me a few moments of head-banging.
>
>Todd
>
>


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] apache setup and archives

2003-08-04 Thread Todd Slater
On Mon, Aug 04, 2003 at 06:22:36PM +0800, Frankie wrote:
> hmmm, well I have the same thing, eth0 for internal, eth1 for external..
> 
> I have apache advx working for the most part, although I did suffer with
> some probs running mod_perl apps, they only work with :8200 in the url, (I
> use virtual named hosting).

You must be running 8.2 or 9.0 because this has changed in 9.1, i.e. you
don't have to specify the port number. I used Mod_survey in 8.2 and had
to specify the port but on my 9.1 install I didn't have to, which caused
me a few moments of head-banging.

Todd

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


RE: [newbie] apache setup and archives

2003-08-04 Thread Frankie
hmmm, well I have the same thing, eth0 for internal, eth1 for external..

I have apache advx working for the most part, although I did suffer with
some probs running mod_perl apps, they only work with :8200 in the url, (I
use virtual named hosting).

other then that, I have half a dozen domains running php on this box.

I don't use MCC for much of anything, I have my smb.conf and do everything
else by hand, most importantly the network connections.

AS for the firewall, I have never used shorewall, i keep meaning to, then I
read posts like this one about it and decide to stick with gShield. (with
is a simple text config you answer yes or no to each quesiton and it just
works.)

Sad as it is to me, I'd like to say nice things about msec, as its a
fantastic idea in theory.. but even on the servers I set them to normal and
tighten things by hand.. every time I try a server setting, I have no end
of trouble getting things to work..

The problem as I see it, is that mandrake have alot of really good
programmers, but no really good software designers...

I also think mandrake should make a bunch of webmin modules for mandrake
specific tools.. msec should be a bumch oc checkboxes where you can choose
custom and just tick the items you want enforced.

I winge about mandrake alot, but i have to say that having tried several of
the alternatives, its still IMHO the best of the bunch for most things.


just my thoughts..


rgds


Franki



>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Dennis Myers
>Sent: Monday, 4 August 2003 10:46 AM
>To: [EMAIL PROTECTED]
>Subject: Re: [newbie] apache setup and archives
>
>
>On Sunday 03 August 2003 08:38 pm, John Wilson wrote:
>> On August 3, 2003 05:44 pm, Todd Slater wrote:
>> > On Sun, Aug 03, 2003 at 04:58:53PM -0700, John Wilson wrote:
>> > > On August 2, 2003 08:44 am, Todd Slater wrote:
>>
>> snip
>>
>> > You haven't disappointed me at all, John. I don't work for Mandrake,
>> > they don't pay me any money, so I could really care less
>whether you use
>> > it or not--use Suse, Red Hat, or IIS if it floats your boat.
>> >
>> > You haven't provided any details about what you tried and the result,
>> > only vague complaints. Obviously, you don't really care to
>learn or you
>> > would have taken the time to try to compose a sensible
>request for help.
>> >
>> > > With regard to MCC, I've had it bork my system far too many times to
>> > > trust it to do anything right.
>> > >
>> > > I was about to recommend to a friend that she run her business on
>> > > Mandrake but until a lot of things are fixed, including MCC and a
>> > > useable firewall that isn't Shorewall comes with the distro I think
>> > > I'll let sleeping dogs lie and let her go to SuSE instead.
>>
>> I'm glad I haven't.  :-)
>>
>> Actually, rereading it I seem to have come off a bit more cranky than I
>> meant to.
>>
>> The reality is that in many cases a lot of networking aps don't
>work "out
>> of the box" if you've done something the least bit strange from
>MCC's point
>> of view.  In my own situation it's the use of eth1 to go to the outside
>> world and eth0 on the internal network.  This throws all the
>wizards with
>> respect to networking out of whack on MCC which wants to insist
>on eth0 as
>> the outward bound device and eth1 + as inward facing.  My
>suspicion is that
>> this is hard coded in the script rather than making use of variables and
>> responding appropriately.
>>
>> When I said MCC borked my system I wasn't kidding.  It took
>three days of
>> rewriting conf files to get things back to normal again.
>During that time
>> most of the machine's functionality was lost.  I could have
>reinstalled but
>> I'd have learned nothing so I went ahead and did it all by hand
>making very
>> many mistakes and learning a fair bit in the process.  Not the least of
>> which is how interconnected things are in Linux. :-)
>>
>> As for Apache...it seems the default scripts that Mandrake
>places made the
>> same assumptions about which device did what as the MCC scripts
>did.  Not a
>> big problem.  Replace and go for it.
>>
>> Figure out how to get Shorewall to open port 80 on the internal network
>> only, which wasn't fun.  (With Shorewall I'm strating to think
>that there's
>> something in my braincells that doesn't make a connection with
>howtos and
>> examples that don't match the actual config

Re: [newbie] apache setup and archives

2003-08-03 Thread Dennis Myers
On Sunday 03 August 2003 08:38 pm, John Wilson wrote:
> On August 3, 2003 05:44 pm, Todd Slater wrote:
> > On Sun, Aug 03, 2003 at 04:58:53PM -0700, John Wilson wrote:
> > > On August 2, 2003 08:44 am, Todd Slater wrote:
>
> snip
>
> > You haven't disappointed me at all, John. I don't work for Mandrake,
> > they don't pay me any money, so I could really care less whether you use
> > it or not--use Suse, Red Hat, or IIS if it floats your boat.
> >
> > You haven't provided any details about what you tried and the result,
> > only vague complaints. Obviously, you don't really care to learn or you
> > would have taken the time to try to compose a sensible request for help.
> >
> > > With regard to MCC, I've had it bork my system far too many times to
> > > trust it to do anything right.
> > >
> > > I was about to recommend to a friend that she run her business on
> > > Mandrake but until a lot of things are fixed, including MCC and a
> > > useable firewall that isn't Shorewall comes with the distro I think
> > > I'll let sleeping dogs lie and let her go to SuSE instead.
>
> I'm glad I haven't.  :-)
>
> Actually, rereading it I seem to have come off a bit more cranky than I
> meant to.
>
> The reality is that in many cases a lot of networking aps don't work "out
> of the box" if you've done something the least bit strange from MCC's point
> of view.  In my own situation it's the use of eth1 to go to the outside
> world and eth0 on the internal network.  This throws all the wizards with
> respect to networking out of whack on MCC which wants to insist on eth0 as
> the outward bound device and eth1 + as inward facing.  My suspicion is that
> this is hard coded in the script rather than making use of variables and
> responding appropriately.
>
> When I said MCC borked my system I wasn't kidding.  It took three days of
> rewriting conf files to get things back to normal again.  During that time
> most of the machine's functionality was lost.  I could have reinstalled but
> I'd have learned nothing so I went ahead and did it all by hand making very
> many mistakes and learning a fair bit in the process.  Not the least of
> which is how interconnected things are in Linux. :-)
>
> As for Apache...it seems the default scripts that Mandrake places made the
> same assumptions about which device did what as the MCC scripts did.  Not a
> big problem.  Replace and go for it.
>
> Figure out how to get Shorewall to open port 80 on the internal network
> only, which wasn't fun.  (With Shorewall I'm strating to think that there's
> something in my braincells that doesn't make a connection with howtos and
> examples that don't match the actual configuration screens.  In any event,
> it works now.)
>
> Set up BIND and DNS to handle things there and beat Samba into submission
> so that the Windoze boxes, now only laptops, can read it.
>
> Upload a web page with the entirely original phrase Hello World written on
> it in dull script.
>
> Can't get there from here..even though I can ping it.  Even more annoying
> and puzzling is that the Win 98 laptop has no problem but the Linux
> machines all error out.
>
> Anyway..the point I'm at now is having Apache log everything and looking
> for what it might be.  Ditto DNS and BIND.
>
> This never happened on 8.2 :-)
>
> However, learning is fun if frustrating at times.  The only reason for the
> recommendation to my friend is that she's in a hurry and I can't really get
> to this problem until I get some time off the day job in September to chase
> down what is undoubtedly my own screw up.  Working 6 days a week will do
> that.
>
> I'll talk to her again on Tuesday and see if I can't slow her down a bit. 
> All in all I'd rather she use Mandrake for an enormous number of reasons
> mostly having to do with the small fact that it's the best, IMHO, and often
> least expensive.
>
> Now I'll go eat and do penance for being cranky by fighting with my cats
> over just who will eat the chicken. :-)
>
> ttfn
>
> John
Again I am baffled, I use eth0 as internal and eth1 as the external devices 
since I didn't know any better.  It works just dandy all through my system. 
MCC has caused me no problems, (well with the exception of the current beta, 
it is not playing nice in beta 1) So the old YMMV continues to be a 
reasonable statement. I would suggest that your friends business would run 
just fine on MandrakeLinux, ours does. Only problems we have are squirrels 
getting fried on the transformers and knocking out our power for about 4ns.  
The seem to vaporize quickly.
-- 
Dennis M. linux user #180842

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] apache setup and archives

2003-08-02 Thread Todd Slater
On Sat, 02 Aug 2003 08:05:57 +
Bill Winegarden <[EMAIL PROTECTED]> wrote:

> Hi Everyone,
>   I am trying to set up a simple apache (2.0) webserver so I would
>   normally try 
> to search the archives. I continue to get error messages whenever I
> try to access them.

For most mailing list archives, I use http://marc.theaimsgroup.com/. Use
your browser's find function to locate "mandrake-newbie".


>   As an alternative, does anyone have a good newbie site for the
>   steps 
> involved?

Not much to do, it should work out of the box. Verify that httpd is
running (you can do that through mcc > system > services--you can also
start it from there if it's not running). To start it from a terminal,
as root do "service httpd start". Note that if you make any
configuration changes to /etc/httpd/conf/*.conf, you'll have to restart
httpd.

>   Also, on my 9.1 installation with default security settings, is
>   the standard 
> port open or closed? How can I tell.

You can go to mcc > security > firewall and check that you want to allow
Web Server.


> As you can see, I'm pretty new to webserving so all assistance is
> appreciated.
> 
> Best regards from burning BC
> 
> Bill W.

Todd

-- 
Name that tune #4: I said, "There is no justice!" as they led me out the
door; and the judge said, "This isn't a court of justice, son, this is a
court of law."

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] apache setup and archives

2003-08-02 Thread Bill Winegarden
Hi Everyone,
I am trying to set up a simple apache (2.0) webserver so I would normally try 
to search the archives. I continue to get error messages whenever I try to 
access them.
As an alternative, does anyone have a good newbie site for the steps 
involved?
Also, on my 9.1 installation with default security settings, is the standard 
port open or closed? How can I tell.

As you can see, I'm pretty new to webserving so all assistance is appreciated.

Best regards from burning BC

Bill W.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache

2003-08-01 Thread ed tharp
On Thu, 2003-07-31 at 14:16, Lee Wiggers wrote:
> I really need some more frustration in my life.  Can anyone point me to a newbie 
> friendly tutorial on setting up a server.
> 
> So far I figured out how to register my domain.  We're talking real newbie stuff 
> here.
> 
> Lee
> 
> 
> 
> __
> 
> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com


mandrake comes with a default setup for Apache Advanced Extranet server,
really sweet. as root, in a text console, without the quotes "urpmi
apache" and let it install, make sure you have port 80 open on your
firewall. then ask again.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache will not allow http: - only https://

2003-08-01 Thread Haywiremac
On 01 Aug 2003 07:11:52 -0400
ed tharp <[EMAIL PROTECTED]> uttered:

> did you restart the network and apache after editing? 

whoa! shite, didn't think of that, thanks Ed.

-- 
HaywireMac

The more laws and order are made prominent, the more thieves and
robbers there will be.
-- Lao Tsu

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache will not allow http: - only https://

2003-08-01 Thread ed tharp
On Fri, 2003-08-01 at 00:56, Jim Thorpe wrote:
> Hi 
> 
> The 
> 127.0.0.1   localhost.localdomain   localhost 
> line didn't work either.

did you restart the network and apache after editing? 
> I do have a network card connected to my laptop that the apache server
> runs on.
> 





> Thanks  Jim
> 
> 
> 
> On Fri, 2003-08-01 at 15:39, ed tharp wrote:
> > On Thu, 2003-07-31 at 22:36, Jim Thorpe wrote:
> > > Hi
> > > 
> > > contents of /etc/hosts
> > > 
> > > 127.0.0.1   localhost
> > > 
> > > 
> > > That's all
> > > 
> > > Thanks  Jim
> > > 
> > > 
> > > 
> > should work, but try this line instead,
> > 127.0.0.1   localhost.localdomain   localhost 
> > 
> > also
> > 
> > do you have a network card? or dialup?
> > 
> > 
> > 
> > > 
> > > On Fri, 2003-08-01 at 13:43, ed tharp wrote:
> > > > On Thu, 2003-07-31 at 21:23, Jim Thorpe wrote:
> > > > > Hi
> > > > > 
> > > > > The permissions are set to drwxrwxrwx (all the way from root to the
> > > > > required dir).
> > > > > I have also tried to view pages specifying the port like so:
> > > > > http://localhost:80/dirname
> > > > > to try to get away from the secure port 443
> > > > > but I still get the same message.
> > > > > 
> > > > > As I'm running all of this on my laptop I have very low security set.
> > > > > You can even do directory browsing (if there is no index.html page)
> > > > > 
> > > > > Thanks
> > > > > 
> > > > > Jim
> > > > > 
> > > > > 
> > > > what does your /etc/hosts file say for localhost?
> > > > 
> > > > 
> > > > 
> > > > > 
> > > > > On Fri, 2003-08-01 at 13:16, Haywiremac wrote:
> > > > > > On 01 Aug 2003 12:15:33 +1200
> > > > > > Jim Thorpe <[EMAIL PROTECTED]> uttered:
> > > > > > 
> > > > > > > The DocumentRoot has changed and I can view many websites that I have
> > > > > > > on my machine using https://localhost/dirname but not using http://
> > > > > > 
> > > > > > I bet that's the issue. you have to make sure the permissions are
> > > > > > correct on the directories where the pages are located.
> > > > > > 
> > > > > > make sure they are searchable like this:
> > > > > > 
> > > > > > drwxr-xr-x
> > > > > > 
> > > > > > > 
> > > > > > > Looking back I have never been able to view pages using http: - only
> > > > > > > https:
> > > > > > > 
> > > > > > > Is this how Apache is set-up by default?
> > > > > > 
> > > > > > Not at all, by default it will answer on port 80, http.
> > > > > 
> > > > > 
> > > > > 
> > > > > __
> > > > > 
> > > > > Want to buy your Pack or Services from MandrakeSoft? 
> > > > > Go to http://www.mandrakestore.com
> > > > 
> > > > 
> > > > 
> > > > __
> > > > 
> > > > Want to buy your Pack or Services from MandrakeSoft? 
> > > > Go to http://www.mandrakestore.com
> > > 
> > > 
> > > 
> > > __
> > > 
> > > Want to buy your Pack or Services from MandrakeSoft? 
> > > Go to http://www.mandrakestore.com
> > 
> > 
> > 
> > __
> > 
> > Want to buy your Pack or Services from MandrakeSoft? 
> > Go to http://www.mandrakestore.com
> 
> 
> 
> __
> 
> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache will not allow http: - only https://

2003-08-01 Thread Haywiremac
On 01 Aug 2003 16:56:10 +1200
Jim Thorpe <[EMAIL PROTECTED]> uttered:

> Hi 
> 
> The 
> 127.0.0.1   localhost.localdomain   localhost 
> line didn't work either.
> 
> I do have a network card connected to my laptop that the apache server
> runs on.

just to make sure, in your httpd2.conf, comment out all the directories
you configured and just go with the default /var/www/html and create an
index.html in there or leave the default page, then see if it will serve
on the default port.

Changing the default doc dir, in my experience, is not as simple as you
might think.

If I were Stephen Kuhn, I would also recommend configuring using Webmin,
but I'm not, so...

-- 
HaywireMac

The more laws and order are made prominent, the more thieves and
robbers there will be.
-- Lao Tsu

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache will not allow http: - only https://

2003-08-01 Thread ed tharp
On Fri, 2003-08-01 at 00:56, Jim Thorpe wrote:
> Hi 
> 
> The 
> 127.0.0.1   localhost.localdomain   localhost 
> line didn't work either.
> 
> I do have a network card connected to my laptop that the apache server
> runs on.
> 
> Thanks  Jim
> 
> 


also, can you connect with http://127.0.0.1:80 ?
> 
> On Fri, 2003-08-01 at 15:39, ed tharp wrote:
> > On Thu, 2003-07-31 at 22:36, Jim Thorpe wrote:
> > > Hi
> > > 
> > > contents of /etc/hosts
> > > 
> > > 127.0.0.1   localhost
> > > 
> > > 
> > > That's all
> > > 
> > > Thanks  Jim
> > > 
> > > 
> > > 
> > should work, but try this line instead,
> > 127.0.0.1   localhost.localdomain   localhost 
> > 
> > also
> > 
> > do you have a network card? or dialup?
> > 
> > 
> > 
> > > 
> > > On Fri, 2003-08-01 at 13:43, ed tharp wrote:
> > > > On Thu, 2003-07-31 at 21:23, Jim Thorpe wrote:
> > > > > Hi
> > > > > 
> > > > > The permissions are set to drwxrwxrwx (all the way from root to the
> > > > > required dir).
> > > > > I have also tried to view pages specifying the port like so:
> > > > > http://localhost:80/dirname
> > > > > to try to get away from the secure port 443
> > > > > but I still get the same message.
> > > > > 
> > > > > As I'm running all of this on my laptop I have very low security set.
> > > > > You can even do directory browsing (if there is no index.html page)
> > > > > 
> > > > > Thanks
> > > > > 
> > > > > Jim
> > > > > 
> > > > > 
> > > > what does your /etc/hosts file say for localhost?
> > > > 
> > > > 
> > > > 
> > > > > 
> > > > > On Fri, 2003-08-01 at 13:16, Haywiremac wrote:
> > > > > > On 01 Aug 2003 12:15:33 +1200
> > > > > > Jim Thorpe <[EMAIL PROTECTED]> uttered:
> > > > > > 
> > > > > > > The DocumentRoot has changed and I can view many websites that I have
> > > > > > > on my machine using https://localhost/dirname but not using http://
> > > > > > 
> > > > > > I bet that's the issue. you have to make sure the permissions are
> > > > > > correct on the directories where the pages are located.
> > > > > > 
> > > > > > make sure they are searchable like this:
> > > > > > 
> > > > > > drwxr-xr-x
> > > > > > 
> > > > > > > 
> > > > > > > Looking back I have never been able to view pages using http: - only
> > > > > > > https:
> > > > > > > 
> > > > > > > Is this how Apache is set-up by default?
> > > > > > 
> > > > > > Not at all, by default it will answer on port 80, http.
> > > > > 
> > > > > 
> > > > > 
> > > > > __
> > > > > 
> > > > > Want to buy your Pack or Services from MandrakeSoft? 
> > > > > Go to http://www.mandrakestore.com
> > > > 
> > > > 
> > > > 
> > > > __
> > > > 
> > > > Want to buy your Pack or Services from MandrakeSoft? 
> > > > Go to http://www.mandrakestore.com
> > > 
> > > 
> > > 
> > > __
> > > 
> > > Want to buy your Pack or Services from MandrakeSoft? 
> > > Go to http://www.mandrakestore.com
> > 
> > 
> > 
> > __
> > 
> > Want to buy your Pack or Services from MandrakeSoft? 
> > Go to http://www.mandrakestore.com
> 
> 
> 
> __
> 
> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache 2, virtual hosts and SSL

2003-08-01 Thread Stefano Pogliani
It did not work for me, sorry.

When I add a new host to the sss.default-vhost.conf file, it appears in 
WebMin as "just another virtual host" which manages the named virtual host.
Actually, the only way in which i can use HTTPS with my Apache 2 system 
is by using "https://localhost/"; and this makes use of the default vhost 
present in the ssl.default-vhost.conf file.
Clearly this prevents me from accessing my WebServer from another 
machine by using HTTPS.

Also, one strange thing is that when in Webmin I try to use the "SSL 
options" associated to any virtual host, the "SSLEngine on" directive is 
properly written in the Vhost.conf file but apachectl is unable to 
restart, i.e. this directive makes httpd2 not able to start.

Now, it seems to me that this should be something "very basic"... i.e. 
HOW COULD I USE HTTPS on a Virtual Host! Using HTTPS on localhost does 
not add that much, right ?

/stefano

Troy Davidson wrote:

Stefano,

I was reading up on Virtual Domains and Apache and found this.  Seems they
are doing what you want and show how to make it work.
http://archives.mandrakelinux.com/qmail/2002-07/msg00011.php

Hope this helps.

Troy Davidson 
Linux User #311107

++ 
Follow the adventures of a 
real life computer and 
 gaming nerd! 

  www.clandaith.com 
++ 

** This messages was composed on a 100% Microsoft free computer **

Quoting Stefano Pogliani <[EMAIL PROTECTED]>:

 

I am running MDK 9.1 with Apache 2.

I have multiple Virtual hosts, all described in the vhosts/Vhosts.conf
file.
Unfortunately, SSL only works with https://localhost/ . None of the 
other alias (https://mymachine.madomain.net/ , 
https://myvirtual.host.org/ , https://othervirtual.host.org) work with
SSL.

Certainly there is something I am missing.

Using Webmin, I discovered that there is the "ssl" directory where the 
"_default_:443" virtual host is defined.

What do I have to do in order to set any other of my Virtual Hosts to 
accept SSL connection ?

Thanks a lot.
Best regards
/stefano



   

 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
 




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache will not allow http: - only https://

2003-07-31 Thread Jim Thorpe
Hi 

The 
127.0.0.1   localhost.localdomain   localhost 
line didn't work either.

I do have a network card connected to my laptop that the apache server
runs on.

Thanks  Jim



On Fri, 2003-08-01 at 15:39, ed tharp wrote:
> On Thu, 2003-07-31 at 22:36, Jim Thorpe wrote:
> > Hi
> > 
> > contents of /etc/hosts
> > 
> > 127.0.0.1   localhost
> > 
> > 
> > That's all
> > 
> > Thanks  Jim
> > 
> > 
> > 
> should work, but try this line instead,
> 127.0.0.1   localhost.localdomain localhost 
> 
> also
> 
> do you have a network card? or dialup?
> 
> 
> 
> > 
> > On Fri, 2003-08-01 at 13:43, ed tharp wrote:
> > > On Thu, 2003-07-31 at 21:23, Jim Thorpe wrote:
> > > > Hi
> > > > 
> > > > The permissions are set to drwxrwxrwx (all the way from root to the
> > > > required dir).
> > > > I have also tried to view pages specifying the port like so:
> > > > http://localhost:80/dirname
> > > > to try to get away from the secure port 443
> > > > but I still get the same message.
> > > > 
> > > > As I'm running all of this on my laptop I have very low security set.
> > > > You can even do directory browsing (if there is no index.html page)
> > > > 
> > > > Thanks
> > > > 
> > > > Jim
> > > > 
> > > > 
> > > what does your /etc/hosts file say for localhost?
> > > 
> > > 
> > > 
> > > > 
> > > > On Fri, 2003-08-01 at 13:16, Haywiremac wrote:
> > > > > On 01 Aug 2003 12:15:33 +1200
> > > > > Jim Thorpe <[EMAIL PROTECTED]> uttered:
> > > > > 
> > > > > > The DocumentRoot has changed and I can view many websites that I have
> > > > > > on my machine using https://localhost/dirname but not using http://
> > > > > 
> > > > > I bet that's the issue. you have to make sure the permissions are
> > > > > correct on the directories where the pages are located.
> > > > > 
> > > > > make sure they are searchable like this:
> > > > > 
> > > > > drwxr-xr-x
> > > > > 
> > > > > > 
> > > > > > Looking back I have never been able to view pages using http: - only
> > > > > > https:
> > > > > > 
> > > > > > Is this how Apache is set-up by default?
> > > > > 
> > > > > Not at all, by default it will answer on port 80, http.
> > > > 
> > > > 
> > > > 
> > > > __
> > > > 
> > > > Want to buy your Pack or Services from MandrakeSoft? 
> > > > Go to http://www.mandrakestore.com
> > > 
> > > 
> > > 
> > > __
> > > 
> > > Want to buy your Pack or Services from MandrakeSoft? 
> > > Go to http://www.mandrakestore.com
> > 
> > 
> > 
> > __
> > 
> > Want to buy your Pack or Services from MandrakeSoft? 
> > Go to http://www.mandrakestore.com
> 
> 
> 
> __
> 
> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache will not allow http: - only https://

2003-07-31 Thread ed tharp
On Thu, 2003-07-31 at 22:36, Jim Thorpe wrote:
> Hi
> 
> contents of /etc/hosts
> 
> 127.0.0.1   localhost
> 
> 
> That's all
> 
> Thanks  Jim
> 
> 
> 
should work, but try this line instead,
127.0.0.1   localhost.localdomain   localhost 

also

do you have a network card? or dialup?



> 
> On Fri, 2003-08-01 at 13:43, ed tharp wrote:
> > On Thu, 2003-07-31 at 21:23, Jim Thorpe wrote:
> > > Hi
> > > 
> > > The permissions are set to drwxrwxrwx (all the way from root to the
> > > required dir).
> > > I have also tried to view pages specifying the port like so:
> > > http://localhost:80/dirname
> > > to try to get away from the secure port 443
> > > but I still get the same message.
> > > 
> > > As I'm running all of this on my laptop I have very low security set.
> > > You can even do directory browsing (if there is no index.html page)
> > > 
> > > Thanks
> > > 
> > > Jim
> > > 
> > > 
> > what does your /etc/hosts file say for localhost?
> > 
> > 
> > 
> > > 
> > > On Fri, 2003-08-01 at 13:16, Haywiremac wrote:
> > > > On 01 Aug 2003 12:15:33 +1200
> > > > Jim Thorpe <[EMAIL PROTECTED]> uttered:
> > > > 
> > > > > The DocumentRoot has changed and I can view many websites that I have
> > > > > on my machine using https://localhost/dirname but not using http://
> > > > 
> > > > I bet that's the issue. you have to make sure the permissions are
> > > > correct on the directories where the pages are located.
> > > > 
> > > > make sure they are searchable like this:
> > > > 
> > > > drwxr-xr-x
> > > > 
> > > > > 
> > > > > Looking back I have never been able to view pages using http: - only
> > > > > https:
> > > > > 
> > > > > Is this how Apache is set-up by default?
> > > > 
> > > > Not at all, by default it will answer on port 80, http.
> > > 
> > > 
> > > 
> > > __
> > > 
> > > Want to buy your Pack or Services from MandrakeSoft? 
> > > Go to http://www.mandrakestore.com
> > 
> > 
> > 
> > __
> > 
> > Want to buy your Pack or Services from MandrakeSoft? 
> > Go to http://www.mandrakestore.com
> 
> 
> 
> __
> 
> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache will not allow http: - only https://

2003-07-31 Thread Jim Thorpe
Hi

contents of /etc/hosts

127.0.0.1   localhost


That's all

Thanks  Jim




On Fri, 2003-08-01 at 13:43, ed tharp wrote:
> On Thu, 2003-07-31 at 21:23, Jim Thorpe wrote:
> > Hi
> > 
> > The permissions are set to drwxrwxrwx (all the way from root to the
> > required dir).
> > I have also tried to view pages specifying the port like so:
> > http://localhost:80/dirname
> > to try to get away from the secure port 443
> > but I still get the same message.
> > 
> > As I'm running all of this on my laptop I have very low security set.
> > You can even do directory browsing (if there is no index.html page)
> > 
> > Thanks
> > 
> > Jim
> > 
> > 
> what does your /etc/hosts file say for localhost?
> 
> 
> 
> > 
> > On Fri, 2003-08-01 at 13:16, Haywiremac wrote:
> > > On 01 Aug 2003 12:15:33 +1200
> > > Jim Thorpe <[EMAIL PROTECTED]> uttered:
> > > 
> > > > The DocumentRoot has changed and I can view many websites that I have
> > > > on my machine using https://localhost/dirname but not using http://
> > > 
> > > I bet that's the issue. you have to make sure the permissions are
> > > correct on the directories where the pages are located.
> > > 
> > > make sure they are searchable like this:
> > > 
> > > drwxr-xr-x
> > > 
> > > > 
> > > > Looking back I have never been able to view pages using http: - only
> > > > https:
> > > > 
> > > > Is this how Apache is set-up by default?
> > > 
> > > Not at all, by default it will answer on port 80, http.
> > 
> > 
> > 
> > __
> > 
> > Want to buy your Pack or Services from MandrakeSoft? 
> > Go to http://www.mandrakestore.com
> 
> 
> 
> __
> 
> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache will not allow http: - only https://

2003-07-31 Thread Haywiremac
On 01 Aug 2003 12:15:33 +1200
Jim Thorpe <[EMAIL PROTECTED]> uttered:

> The DocumentRoot has changed and I can view many websites that I have
> on my machine using https://localhost/dirname but not using http://

I bet that's the issue. you have to make sure the permissions are
correct on the directories where the pages are located.

make sure they are searchable like this:

drwxr-xr-x

> 
> Looking back I have never been able to view pages using http: - only
> https:
> 
> Is this how Apache is set-up by default?

Not at all, by default it will answer on port 80, http.

-- 
HaywireMac

Mundus vult decipi decipiatur ergo.
-- Xaviera Hollander
[The world wants to be cheated, so cheat.]

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache will not allow http: - only https://

2003-07-31 Thread Jim Thorpe
Have you made any changes at all to the configuration, like the document
root (/var/www/html)? Have you replaced the default page?

What are you putting in the browser address field to access the server,
it's IP or name?

Are you doing this *on* the server or from another machine?

-- 
HaywireMac


The DocumentRoot has changed and I can view many websites that I have on
my machine using https://localhost/dirname but not using http://

That is when I get the message saying I should use https://

I have Apache2 running on Mandrake9.1 all on my laptop.

Looking back I have never been able to view pages using http: - only
https:

Is this how Apache is set-up by default?

Thanks for any help

Jim



On Fri, 2003-08-01 at 11:43, Jim Thorpe wrote:
> On Fri, 2003-08-01 at 11:33, Haywiremac wrote:
> > On 01 Aug 2003 11:00:08 +1200
> > Jim Thorpe <[EMAIL PROTECTED]> uttered:
> > 
> > > 
> > > 
> > > Bad Request
> > > 
> > > Your browser sent a request that this server could not understand.
> > >  Reason: You're speaking plain HTTP to an SSL-enabled server port.
> > >  Instead use the HTTPS scheme to access this URL, please.
> > > 
> > > Hint: https://localhost/
> > > 
> > > Apache-AdvancedExtranetServer/2.0.44 (Mandrake Linux/11mdk)
> > > mod_perl/1.99_08 Perl/v5.8.0 mod_ssl/2.0.44 OpenSSL/0.9.7a PHP/4.3.1
> > > Server at localhost Port 443
> > > 
> > > 
> > > 
> > > Does anyone know how to set-up Apache so that you can view webpages
> > > using the http: protocol and not the https: protocol?
> > 
> > I got that too. Have you been making changes to Vhosts.conf?
> 
> The Vhosts.conf is unchanged.
> 
> 
> 
> __
> 
> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache will not allow http: - only https://

2003-07-31 Thread Dennis Myers
On Thursday 31 July 2003 06:33 pm, Haywiremac wrote:
> On 01 Aug 2003 11:00:08 +1200
>
> Jim Thorpe <[EMAIL PROTECTED]> uttered:
> > Bad Request
> >
> > Your browser sent a request that this server could not understand.
> >  Reason: You're speaking plain HTTP to an SSL-enabled server port.
> >  Instead use the HTTPS scheme to access this URL, please.
> >
> > Hint: https://localhost/
> >
> > Apache-AdvancedExtranetServer/2.0.44 (Mandrake Linux/11mdk)
> > mod_perl/1.99_08 Perl/v5.8.0 mod_ssl/2.0.44 OpenSSL/0.9.7a PHP/4.3.1
> > Server at localhost Port 443
> >
> >
> >
> > Does anyone know how to set-up Apache so that you can view webpages
> > using the http: protocol and not the https: protocol?
>
> I got that too. Have you been making changes to Vhosts.conf?
Which port are you looking at? I get Apache with http: on port 80. I get 
https: on port 443. HTH
-- 
Dennis M. linux user #180842

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache will not allow http: - only https://

2003-07-31 Thread Haywiremac
On 01 Aug 2003 11:43:25 +1200
Jim Thorpe <[EMAIL PROTECTED]> uttered:

> 
> The Vhosts.conf is unchanged.

Have you made any changes at all to the configuration, like the document
root (/var/www/html)? Have you replaced the default page?

What are you putting in the browser address field to access the server,
it's IP or name?

Are you doing this *on* the server or from another machine?

-- 
HaywireMac

The greatest love is a mother's, then a dog's, then a sweetheart's.
-- Polish proverb

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Apache will not allow http: - only https://

2003-07-31 Thread Jim Thorpe
On Fri, 2003-08-01 at 11:33, Haywiremac wrote:
> On 01 Aug 2003 11:00:08 +1200
> Jim Thorpe <[EMAIL PROTECTED]> uttered:
> 
> > 
> > 
> > Bad Request
> > 
> > Your browser sent a request that this server could not understand.
> >  Reason: You're speaking plain HTTP to an SSL-enabled server port.
> >  Instead use the HTTPS scheme to access this URL, please.
> > 
> > Hint: https://localhost/
> > 
> > Apache-AdvancedExtranetServer/2.0.44 (Mandrake Linux/11mdk)
> > mod_perl/1.99_08 Perl/v5.8.0 mod_ssl/2.0.44 OpenSSL/0.9.7a PHP/4.3.1
> > Server at localhost Port 443
> > 
> > 
> > 
> > Does anyone know how to set-up Apache so that you can view webpages
> > using the http: protocol and not the https: protocol?
> 
> I got that too. Have you been making changes to Vhosts.conf?

The Vhosts.conf is unchanged.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


  1   2   3   4   5   >