You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Teun <ap...@dse.nl> on 2010/07/26 14:07:47 UTC

[users@httpd] mod inlcude; htaccess htpasswd SSI do not funtion properly]

See information under this message.

------------------

Ever i wish to use the mod include for using htaccess/htpasswd to secure
my website. I did what it need to make it possible. It funtion very well.
It was oke. No problem i did have. But on a day it did not work any more.
I did not change any thing. It looks like there is a problem come from a
update. It just came with a new day with a new problem.

This is my .htacces file:


AuthUserFile /var/www/htacces.login/.htpasswd
AuthGroupFile /dev/null
AuthName "Privaat Pagina"
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>

Options +Includes

AddType text/html .shtml
AddOutputFilter INCLUDES .shtml


This is my .htpasswd :
user:aaaBWPKu9Hooo

This is my httpd.conf :

#Dit schakelt Server Sides Includes in en aan
Options +Includes

#Dat schakelt het bestand type waarop SSI aan moet staan
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml

Je mag ook in het Nederlands antwoorden van mij (Teun).

This is my include.load :
LoadModule include_module /usr/lib/apache2/modules/mod_include.so

Do you need more information to analise this problem?

-----------

I did add this information to httpd.conf :

<Directory "/var/www/htaccess.login">
AllowOverride All
</Directory>

Now it did ask for a login. But it gave me an error information message:
Internal Server Error

The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator, webmaster@localhost and inform
them of the time the error occurred, and anything you might have done that
may have caused the error.

More information about this error may be available in the server error log.
Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.5 with Suhosin-Patch Server at
localhost Port 80

thanks

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] mod inlcude; htaccess htpasswd SSI do not funtion properly]

Posted by Teun <ap...@dse.nl>.
Very thanks to you sire !
> On Ubuntu the logs are here: /var/log/apache2/
>
> On Tue, Jul 27, 2010 at 1:54 PM, Teun <ap...@dse.nl> wrote:
>> Where can i find the errorlogs in ubuntu for apache httpd?
>>
>>>> More information about this error may be available in the server error
>>>> log.
>>>
>>> and?
>>>
>>> ---------------------------------------------------------------------
>>> The official User-To-User support forum of the Apache HTTP Server
>>> Project.
>>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>> For additional commands, e-mail: users-help@httpd.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server
>> Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] mod inlcude; htaccess htpasswd SSI do not funtion properly]

Posted by Libo Song <ls...@google.com>.
On Ubuntu the logs are here: /var/log/apache2/

On Tue, Jul 27, 2010 at 1:54 PM, Teun <ap...@dse.nl> wrote:
> Where can i find the errorlogs in ubuntu for apache httpd?
>
>>> More information about this error may be available in the server error
>>> log.
>>
>> and?
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] mod inlcude; htaccess htpasswd SSI do not funtion properly]

Posted by Teun <ap...@dse.nl>.
Where can i find the errorlogs in ubuntu for apache httpd?

>> More information about this error may be available in the server error
>> log.
>
> and?
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] mod inlcude; htaccess htpasswd SSI do not funtion properly]

Posted by Eric Covener <co...@gmail.com>.
> More information about this error may be available in the server error log.

and?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org