Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Internal Server Error

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  autoindex_module HELP!  
Author Message
wardlow

External


Since: Jul 27, 2003
Posts: 3



(Msg. 1) Posted: Sun Jul 27, 2003 4:39 pm
Post subject: Internal Server Error
Archived from groups: alt>apache>configuration (more info?)

I'm using the default distro of apache 1.3.28 on win2000. I've restrict
access to all folders in my web root using the <Directory> directive in the
httpd.conf. I've changed the default .htaccess to htaccess.txt using
"AccessFileName htaccess.txt." My dilemma is when I use the htaccess.txt
file to override the <Directory> directive I set in the httpd.conf I get a
"Internal Server Error" message.

The error:
[Sun Jul 27 13:15:26 2003] [alert] [client 127.0.0.1]
c:/apache/htdocs/apache_manual/htaccess.txt: allow not allowed here

How do I fix this so the Allow, Deny, and Options directives are allowed
from this file?

 >> Stay informed about: Internal Server Error 
Back to top
Login to vote
nospam173

External


Since: Jul 02, 2003
Posts: 52



(Msg. 2) Posted: Mon Jul 28, 2003 12:47 am
Post subject: Re: Internal Server Error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sun, 27 Jul 2003 13:39:56 -0800, The Other Guy responded to a post
from "php-junkie" <wardlow RemoveThis @myrealbox.com> who wrote in
alt.apache.configuration:

 >I'm using the default distro of apache 1.3.28 on win2000. I've restrict
 >access to all folders in my web root using the <Directory> directive in the
 >httpd.conf. I've changed the default .htaccess to htaccess.txt using
 >"AccessFileName htaccess.txt." My dilemma is when I use the htaccess.txt
 >file to override the <Directory> directive I set in the httpd.conf I get a
 >"Internal Server Error" message.
 >
 >The error:
 >[Sun Jul 27 13:15:26 2003] [alert] [client 127.0.0.1]
 >c:/apache/htdocs/apache_manual/htaccess.txt: allow not allowed here
 >
 >How do I fix this so the Allow, Deny, and Options directives are allowed
 >from this file?
 >
 >
 >
AllowOverride AuthConfig directive in the directory container?


--
../configure --prefix=~/zyterion
Not this guy or that guy, The Other Guy.

"If you're not thoroughly confused by now, then you just
don't understand the situation."<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Internal Server Error 
Back to top
Login to vote
wardlow

External


Since: Jul 27, 2003
Posts: 3



(Msg. 3) Posted: Mon Jul 28, 2003 12:47 am
Post subject: Re: Internal Server Error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"The Other Guy" <nospam.RemoveThis@this.addy> wrote in message
news:3ah8ivstd22sfrf93piq3c6pik3l298kt9@4ax.com...
 > On Sun, 27 Jul 2003 13:39:56 -0800, The Other Guy responded to a post
 > from "php-junkie" <wardlow.RemoveThis@myrealbox.com> who wrote in
 > alt.apache.configuration:
 >
 > AllowOverride AuthConfig directive in the directory container?
 >
 >
 > --
 > ./configure --prefix=~/zyterion
 > Not this guy or that guy, The Other Guy.
 >
 > "If you're not thoroughly confused by now, then you just
 > don't understand the situation."

No, does it need to be?

<Directory "C:/Apache/htdocs">
Options followSymLinks
AllowOverride FileInfo
Order allow,deny
Allow from all
</Directory><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Internal Server Error 
Back to top
Login to vote
nospam173

External


Since: Jul 02, 2003
Posts: 52



(Msg. 4) Posted: Mon Jul 28, 2003 5:02 am
Post subject: Re: Internal Server Error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sun, 27 Jul 2003 17:49:11 -0800, The Other Guy responded to a post
from "php-junkie" <wardlow DeleteThis @myrealbox.com> who wrote in
alt.apache.configuration:

 >
 >"The Other Guy" <nospam DeleteThis @this.addy> wrote in message
 >news:3ah8ivstd22sfrf93piq3c6pik3l298kt9@4ax.com...
  >> On Sun, 27 Jul 2003 13:39:56 -0800, The Other Guy responded to a post
  >> from "php-junkie" <wardlow DeleteThis @myrealbox.com> who wrote in
  >> alt.apache.configuration:
  >>
  >> AllowOverride AuthConfig directive in the directory container?
  >>
  >>
  >> --
  >> ./configure --prefix=~/zyterion
  >> Not this guy or that guy, The Other Guy.
  >>
  >> "If you're not thoroughly confused by now, then you just
  >> don't understand the situation."
 >
 >No, does it need to be?
 >
 ><Directory "C:/Apache/htdocs">
 > Options followSymLinks
 > AllowOverride FileInfo
 > Order allow,deny
 > Allow from all
 ></Directory>
 >

Yes.
<a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/mod/core.html#allowoverride" target="_blank">http://httpd.apache.org/docs-2.0/mod/core.html#allowoverride</a>

<a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/howto/htaccess.html" target="_blank">http://httpd.apache.org/docs-2.0/howto/htaccess.html</a>
"You must have "AllowOverride AuthConfig" in effect for these
directives to be honored.

..htaccess file contents:

AuthType Basic
AuthName "Password Required"
AuthUserFile /www/passwords/password.file
AuthGroupFile /www/passwords/group.file
Require Group admins

Note that AllowOverride AuthConfig must be in effect for these
directives to have any effect.

Please see the authentication tutorial
[http://httpd.apache.org/docs-2.0/howto/auth.html] for a more complete
discussion of authentication and authorization."

Specifically:
<a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/howto/auth.html#theprerequisites" target="_blank">http://httpd.apache.org/docs-2.0/howto/auth.html#theprerequisites</a>

Read also <a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/howto/auth.html" target="_blank">http://httpd.apache.org/docs-2.0/howto/auth.html</a>

--
../configure --prefix=~/zyterion
Not this guy or that guy, The Other Guy.

"If you're not thoroughly confused by now, then you just
don't understand the situation."<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Internal Server Error 
Back to top
Login to vote
wardlow

External


Since: Jul 27, 2003
Posts: 3



(Msg. 5) Posted: Mon Jul 28, 2003 5:02 am
Post subject: Re: Internal Server Error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"The Other Guy" <nospam.TakeThisOut@this.addy> wrote in message
news:3o09iv8c2k1spto9sn8hns5tulei00resg@4ax.com...
 > On Sun, 27 Jul 2003 17:49:11 -0800, The Other Guy responded to a post
 > from "php-junkie" <wardlow.TakeThisOut@myrealbox.com> who wrote in
 > alt.apache.configuration:
 >
 >
 > Yes.
<font color=purple> > <a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/mod/core.html#allowoverride</font" target="_blank">http://httpd.apache.org/docs-2.0/mod/core.html#allowoverride</font</a>>
 >
<font color=purple> > <a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/howto/htaccess.html</font" target="_blank">http://httpd.apache.org/docs-2.0/howto/htaccess.html</font</a>>
 > "You must have "AllowOverride AuthConfig" in effect for these
 > directives to be honored.
 >
 > .htaccess file contents:
 >
 > AuthType Basic
 > AuthName "Password Required"
 > AuthUserFile /www/passwords/password.file
 > AuthGroupFile /www/passwords/group.file
 > Require Group admins
 >
 > Note that AllowOverride AuthConfig must be in effect for these
 > directives to have any effect.
 >
 > Please see the authentication tutorial
 > [http://httpd.apache.org/docs-2.0/howto/auth.html] for a more complete
 > discussion of authentication and authorization."
 >
 > Specifically:
<font color=purple> > <a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/howto/auth.html#theprerequisites</font" target="_blank">http://httpd.apache.org/docs-2.0/howto/auth.html#theprerequisites</font</a>>
 >
<font color=purple> > Read also <a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/howto/auth.html</font" target="_blank">http://httpd.apache.org/docs-2.0/howto/auth.html</font</a>>
 >
 > --
 > ./configure --prefix=~/zyterion
 > Not this guy or that guy, The Other Guy.
 >
 > "If you're not thoroughly confused by now, then you just
 > don't understand the situation."

Of course with the links you posted I was able to figure out what I was
doing wrong. Thanx for your time.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Internal Server Error 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
PHP Error - I seem to be unable to run/exec php documents on my webserver, and i have no idea why. the includes at the bottom of http.conf are both # ed out. but when i enable them, apache doesnt start! Any solutions much appreciated, and a possible method of..

A CGI got 2,000 error message - Hi, All: I wrote a perl-CGI program to receive file upload from visitor. Every thing is fine, except that when user cancel the upload process by press ESC in IE, my Apache server will generate 2,000 lines of error message in error.log. Is this normal? ...

404 Error Page (PHP) - In httpd.conf, I put in this line. ErrorDocument 404 /404.html Now, when I go to www.myweb.com/123, I see the 404.html. But when I enter this line into the httpd.conf. ErrorDocument 404 /404.php And enter www.myweb.com/123, I get "The page canno...

Apache error - I am using Solaris8, Weblogic 7sp2 and IBM HTTPD server. Getting the following error [error] READ_TIMEOUT [os error=0, line 199 of ../nsapi/Reader.cpp]: Any help is appreciated. Thanks

Error : could not bind to address 0.0.0.0:80 - Hi, I am beginer in use with apache. I have installing apache2 for just developping php script in local. When i would start apache2, i have this message : Starting httpd2: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 n...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]