Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2002 16:04:20 +1300
From:      "Defryn, Guy" <G.P.Defryn@massey.ac.nz>
To:        "'freebsd-newbies@FreeBSD.ORG'" <freebsd-newbies@freebsd.org>
Subject:   Apache configuration
Message-ID:  <98B01D2717B9D411B38F0008C7840931057F3557@its-xchg2.massey.ac.nz>

next in thread | raw e-mail | index | archive | help
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C19D71.53F931F0
Content-Type: text/plain

I have some problems with Apache. I have subscribed to the apache list about
8 hrs ago but have not received any confirmation
Hope you guys can help for now
 
 
OS: FreeBSD 4.4
Apache 1.3.6
 
I have an Apache server and my document root is
/usr/local/www/
 
In my .httpd file I have an alias to
/usr/local/www/test
and allowoverride is set to all
 
In my .httaccess file something is causing problems
 
Problem 1) 
I have a redirection for an error
ErrorDocument 404 /usr/local/www/test/error.html
 
This does not work but when I change to
ErrorDocument 404 http://servername/test/error.html it does work
 
Problem 2)
My authentication does not work
when I use AuthUserFile /usr/local/bin/users it does not work
After moving the users file to /usr/local/www/test and changing
the AuthUserFile to /users the authentication box pops up but it does not
let me in
Changing the AuthUserFile to usr/local/www/test/users does not bring the
authentication box up
 
Problem 3)
 
redirect /usr/local/www/test/page.html http://www.somedomain.com
Does not work at all
 
Any ideas?
Guy Defryn, mcp & A+
IT-support & webdesign
Institute of Food, Nutrition and Human Health
Private Bag 11 222
Massey University
Palmerston North, New Zealand
Ph: 06-3504336 ext 2037
E-mail: g.p.defryn@massey.ac.nz <mailto:g.p.defryn@massey.ac.nz> 
 
 

------_=_NextPart_001_01C19D71.53F931F0
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">;

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 10">
<meta name=3DOriginator content=3D"Microsoft Word 10">
<link rel=3DFile-List href=3D"cid:filelist.xml@01C19DDD.CD56DE00">
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"country-region"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"PlaceName"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"PlaceType"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"place"/>
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:536871559 0 0 0 415 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;
	text-underline:single;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	mso-style-noshow:yes;
	mso-ansi-font-size:10.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-ascii-font-family:Arial;
	mso-hansi-font-family:Arial;
	mso-bidi-font-family:Arial;
	color:windowtext;}
span.SpellE
	{mso-style-name:"";
	mso-spl-e:yes;}
span.GramE
	{mso-style-name:"";
	mso-gram-e:yes;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */=20
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple =
style=3D'tab-interval:.5in'>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I have some problems with Apache. I have subscribed =
to the
apache list about 8 hrs ago but have not received any =
confirmation<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hope you guys can help for =
now<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>OS: FreeBSD 4.4<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Apache 1.3.6<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I have an Apache server and my document root =
is<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>/<span =
class=3DSpellE>usr</span>/local/www/<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>In my .<span class=3DSpellE>httpd</span> file I have =
an alias
to<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>/<span =
class=3DSpellE>usr</span>/local/www/test<o:p></o:p></span></font></p>

<p class=3DMsoNormal><span class=3DGramE><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>and</span></font></span><fo=
nt
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'> <span
class=3DSpellE>allowoverride</span> is set to =
all<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>In my .<span class=3DSpellE>httaccess</span> file =
something is
causing problems<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Problem 1) <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I have a redirection for an =
error<o:p></o:p></span></font></p>

<p class=3DMsoNormal><span class=3DSpellE><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>ErrorDocument</span></font>=
</span><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'> 404
/usr/local/www/test/error.html<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>This does not work but when I change =
to<o:p></o:p></span></font></p>

<p class=3DMsoNormal><span class=3DSpellE><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>ErrorDocument</span></font>=
</span><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'> 404
http://servername/test/error.html it does =
work<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Problem 2)<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>My authentication does not =
work<o:p></o:p></span></font></p>

<p class=3DMsoNormal><span class=3DGramE><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>when</span></font></span><f=
ont
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'> I use <span
class=3DSpellE>AuthUserFile</span> /<span =
class=3DSpellE>usr</span>/local/bin/users
it does not work<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>After moving the users file to /<span =
class=3DSpellE>usr</span>/local/www/test
and changing<o:p></o:p></span></font></p>

<p class=3DMsoNormal><span class=3DGramE><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>the</span></font></span><fo=
nt
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'> <span
class=3DSpellE>AuthUserFile</span> to /users the authentication box =
pops up but
it does not let me in<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Changing the <span =
class=3DSpellE>AuthUserFile</span> to <span
class=3DSpellE>usr</span>/local/www/test/users does not bring the =
authentication
box up<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Problem 3)<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><span class=3DGramE><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>redirect</span></font></spa=
n><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>
/usr/local/www/test/page.html =
http://www.somedomain.com<o:p></o:p></span></font></p>;

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Does not work at all<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><span class=3DGramE><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>Any =
ideas?</span></font></span><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></=
p>

<p class=3DMsoNormal><em><i><font size=3D4 color=3Dolive =
face=3DVerdana><span
style=3D'font-size:13.5pt;font-family:Verdana;color:olive;mso-no-proof:y=
es'>Guy
Defryn, </span></font></i></em><em><i><font size=3D2 color=3Dolive =
face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:olive;mso-no-proof:y=
es'>mcp
&amp; A+</span></font></i></em><span =
style=3D'mso-no-proof:yes'><o:p></o:p></span></p>

<p class=3DMsoNormal><em><i><font size=3D2 color=3Dolive =
face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:olive;mso-no-proof:y=
es'>IT-support
&amp; webdesign</span></font></i></em><span =
style=3D'mso-no-proof:yes'><o:p></o:p></span></p>

<p class=3DMsoNormal><st1:place><st1:PlaceType><em><i><font size=3D2 =
color=3Dolive
  face=3DVerdana><span =
style=3D'font-size:10.0pt;font-family:Verdana;color:olive;
  =
mso-no-proof:yes'>Institute</span></font></i></em></st1:PlaceType><em><i=
><font
 size=3D2 color=3Dolive face=3DVerdana><span =
style=3D'font-size:10.0pt;font-family:
 Verdana;color:olive;mso-no-proof:yes'> of =
</span></font></i></em><st1:PlaceName><em><i><font
  size=3D2 color=3Dolive face=3DVerdana><span =
style=3D'font-size:10.0pt;font-family:
  =
Verdana;color:olive;mso-no-proof:yes'>Food</span></font></i></em></st1:P=
laceName></st1:place><em><i><font
size=3D2 color=3Dolive face=3DVerdana><span =
style=3D'font-size:10.0pt;font-family:Verdana;
color:olive;mso-no-proof:yes'>, Nutrition and Human =
Health</span></font></i></em><span
style=3D'mso-no-proof:yes'><o:p></o:p></span></p>

<p class=3DMsoNormal><em><i><font size=3D2 color=3Dolive =
face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:olive;mso-no-proof:y=
es'>Private
Bag 11 222</span></font></i></em><span =
style=3D'mso-no-proof:yes'><o:p></o:p></span></p>

<p class=3DMsoNormal><st1:place><st1:PlaceName><em><i><font size=3D2 =
color=3Dolive
  face=3DVerdana><span style=3D'font-size:10.0pt;font-family:Verdana;col=
or:olive;
  =
mso-no-proof:yes'>Massey</span></font></i></em></st1:PlaceName><em><i><f=
ont
 size=3D2 color=3Dolive face=3DVerdana><span =
style=3D'font-size:10.0pt;font-family:
 Verdana;color:olive;mso-no-proof:yes'> =
</span></font></i></em><st1:PlaceType><em><i><font
  size=3D2 color=3Dolive face=3DVerdana><span =
style=3D'font-size:10.0pt;font-family:
  =
Verdana;color:olive;mso-no-proof:yes'>University</span></font></i></em><=
/st1:PlaceType></st1:place><span
style=3D'mso-no-proof:yes'><o:p></o:p></span></p>

<p class=3DMsoNormal><em><i><font size=3D2 color=3Dolive =
face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:olive;mso-no-proof:y=
es'>Palmerston
North, =
</span></font></i></em><st1:country-region><st1:place><em><i><font
  size=3D2 color=3Dolive face=3DVerdana><span =
style=3D'font-size:10.0pt;font-family:
  Verdana;color:olive;mso-no-proof:yes'>New =
Zealand</span></font></i></em></st1:place></st1:country-region><span
style=3D'mso-no-proof:yes'><o:p></o:p></span></p>

<p class=3DMsoNormal><em><i><font size=3D2 color=3Dolive =
face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:olive;mso-no-proof:y=
es'>Ph:
06-3504336 ext 2037</span></font></i></em><span =
style=3D'mso-no-proof:yes'><o:p></o:p></span></p>

<p class=3DMsoNormal><em><i><font size=3D2 color=3Dolive =
face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:olive;mso-no-proof:y=
es'>E-mail:
<a =
href=3D"mailto:g.p.defryn@massey.ac.nz">g.p.defryn@massey.ac.nz</a></spa=
n></font></i></em><span
style=3D'mso-no-proof:yes'><o:p></o:p></span></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt;mso-no-proof:yes'>&nbsp;</span><o:p></o:p></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C19D71.53F931F0--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?98B01D2717B9D411B38F0008C7840931057F3557>