Apache authentification errormount / and / or apache - php permissions : where should I look?apache deny...
How to have a sharp product image?
Is the claim "Employers won't employ people with no 'social media presence'" realistic?
How to pronounce 'c++' in Spanish
How can I print the prosodic symbols in LaTeX?
What is the philosophical significance of speech acts/implicature?
Alignment of various blocks in tikz
Is there really no use for MD5 anymore?
What happens to Mjolnir (Thor's hammer) at the end of Endgame?
How do I reattach a shelf to the wall when it ripped out of the wall?
Implications of cigar-shaped bodies having rings?
Can I grease a crank spindle/bracket without disassembling the crank set?
How to prevent z-fighting in OpenSCAD?
How would 10 generations of living underground change the human body?
I preordered a game on my Xbox while on the home screen of my friend's account. Which of us owns the game?
How did Captain America manage to do this?
Extension of 2-adic valuation to the real numbers
Do I have an "anti-research" personality?
"Whatever a Russian does, they end up making the Kalashnikov gun"? Are there any similar proverbs in English?
Pre-plastic human skin alternative
Who was the lone kid in the line of people at the lake at the end of Avengers: Endgame?
What is causing the white spot to appear in some of my pictures
Overlay of two functions leaves gaps
How do I deal with a coworker that keeps asking to make small superficial changes to a report, and it is seriously triggering my anxiety?
A Note on N!
Apache authentification error
mount / and / or apache - php permissions : where should I look?apache deny directive not workingMy virtualhost not working for non-www versionApache2 Permission denied: access to / deniedApache Virtual Hosts Not WorkingLive site with ssl enabled redirects to the staging site without ssl.htaccess has no effectAdding additional host to Apache2Apache2 randomly stop working, error 403Apache Start Fails due to missing mpm module
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I've installed Apache 2.2 on my Debian-based distr (kernel 3.2.0-27) and apache2.2-common package with default configs.
Trying to run simple script info.php I got the error found in /var/log/apache2/error.log:
[Wed Jul 16 09:17:08 2014] [crit] [client 127.0.0.1] configuration error: couldn't perform authentication. AuthType not set!: /info.php
I've searched for hours in the internet, but haven't found solution.
Script info.php:
<?php
phpinfo();
?>
Config files:
/etc/apache2/apache2.conf:
...
Include httpd.conf
Include ports.conf
Include conf.d/
Include sites-enabled/
...
/etc/apache2/httpd.conf is clear.
/etc/apache2/ports.conf:
...
NameVirtualHost *:80
Listen 80
...
/etc/apache2/conf.d/security:
...
ServerSignature On
TraceEnable Off
...
/etc/apache2/sites-enabled/@000-default (link to /etc/apache2/sites-available/default):
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
List of loaded modules (got by apache2ctl -M
):
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Loaded Modules:
core_module (static)
authn_file_module (static)
authn_default_module (static)
authz_default_module (static)
log_config_module (static)
logio_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
alias_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
deflate_module (shared)
dir_module (shared)
env_module (shared)
mime_module (shared)
negotiation_module (shared)
reqtimeout_module (shared)
setenvif_module (shared)
status_module (shared)
Syntax OK
What changes should I make to make server work?
linux apache-2.2 php debian
bumped to the homepage by Community♦ 3 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I've installed Apache 2.2 on my Debian-based distr (kernel 3.2.0-27) and apache2.2-common package with default configs.
Trying to run simple script info.php I got the error found in /var/log/apache2/error.log:
[Wed Jul 16 09:17:08 2014] [crit] [client 127.0.0.1] configuration error: couldn't perform authentication. AuthType not set!: /info.php
I've searched for hours in the internet, but haven't found solution.
Script info.php:
<?php
phpinfo();
?>
Config files:
/etc/apache2/apache2.conf:
...
Include httpd.conf
Include ports.conf
Include conf.d/
Include sites-enabled/
...
/etc/apache2/httpd.conf is clear.
/etc/apache2/ports.conf:
...
NameVirtualHost *:80
Listen 80
...
/etc/apache2/conf.d/security:
...
ServerSignature On
TraceEnable Off
...
/etc/apache2/sites-enabled/@000-default (link to /etc/apache2/sites-available/default):
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
List of loaded modules (got by apache2ctl -M
):
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Loaded Modules:
core_module (static)
authn_file_module (static)
authn_default_module (static)
authz_default_module (static)
log_config_module (static)
logio_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
alias_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
deflate_module (shared)
dir_module (shared)
env_module (shared)
mime_module (shared)
negotiation_module (shared)
reqtimeout_module (shared)
setenvif_module (shared)
status_module (shared)
Syntax OK
What changes should I make to make server work?
linux apache-2.2 php debian
bumped to the homepage by Community♦ 3 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
The most common problem that seems to cause this error is the directiveRequire all granted
which is only valid in 2.4. I don't see it in the config you have pasted but it could exist in another file. Could you rungrep -r Require /etc/apache2/
?
– Ladadadada
Jul 16 '14 at 6:36
I'm voting to close this question as off-topic because the poster has clarified that they are using a custom build of apache which renders all solutions moot. Since it can't be replicated or be of any use to others, I see no reason to keep it around.
– Jenny D
Jul 15 '17 at 11:33
add a comment |
I've installed Apache 2.2 on my Debian-based distr (kernel 3.2.0-27) and apache2.2-common package with default configs.
Trying to run simple script info.php I got the error found in /var/log/apache2/error.log:
[Wed Jul 16 09:17:08 2014] [crit] [client 127.0.0.1] configuration error: couldn't perform authentication. AuthType not set!: /info.php
I've searched for hours in the internet, but haven't found solution.
Script info.php:
<?php
phpinfo();
?>
Config files:
/etc/apache2/apache2.conf:
...
Include httpd.conf
Include ports.conf
Include conf.d/
Include sites-enabled/
...
/etc/apache2/httpd.conf is clear.
/etc/apache2/ports.conf:
...
NameVirtualHost *:80
Listen 80
...
/etc/apache2/conf.d/security:
...
ServerSignature On
TraceEnable Off
...
/etc/apache2/sites-enabled/@000-default (link to /etc/apache2/sites-available/default):
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
List of loaded modules (got by apache2ctl -M
):
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Loaded Modules:
core_module (static)
authn_file_module (static)
authn_default_module (static)
authz_default_module (static)
log_config_module (static)
logio_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
alias_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
deflate_module (shared)
dir_module (shared)
env_module (shared)
mime_module (shared)
negotiation_module (shared)
reqtimeout_module (shared)
setenvif_module (shared)
status_module (shared)
Syntax OK
What changes should I make to make server work?
linux apache-2.2 php debian
I've installed Apache 2.2 on my Debian-based distr (kernel 3.2.0-27) and apache2.2-common package with default configs.
Trying to run simple script info.php I got the error found in /var/log/apache2/error.log:
[Wed Jul 16 09:17:08 2014] [crit] [client 127.0.0.1] configuration error: couldn't perform authentication. AuthType not set!: /info.php
I've searched for hours in the internet, but haven't found solution.
Script info.php:
<?php
phpinfo();
?>
Config files:
/etc/apache2/apache2.conf:
...
Include httpd.conf
Include ports.conf
Include conf.d/
Include sites-enabled/
...
/etc/apache2/httpd.conf is clear.
/etc/apache2/ports.conf:
...
NameVirtualHost *:80
Listen 80
...
/etc/apache2/conf.d/security:
...
ServerSignature On
TraceEnable Off
...
/etc/apache2/sites-enabled/@000-default (link to /etc/apache2/sites-available/default):
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
List of loaded modules (got by apache2ctl -M
):
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Loaded Modules:
core_module (static)
authn_file_module (static)
authn_default_module (static)
authz_default_module (static)
log_config_module (static)
logio_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
alias_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
deflate_module (shared)
dir_module (shared)
env_module (shared)
mime_module (shared)
negotiation_module (shared)
reqtimeout_module (shared)
setenvif_module (shared)
status_module (shared)
Syntax OK
What changes should I make to make server work?
linux apache-2.2 php debian
linux apache-2.2 php debian
asked Jul 16 '14 at 5:47
user1088224user1088224
1112
1112
bumped to the homepage by Community♦ 3 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 3 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
The most common problem that seems to cause this error is the directiveRequire all granted
which is only valid in 2.4. I don't see it in the config you have pasted but it could exist in another file. Could you rungrep -r Require /etc/apache2/
?
– Ladadadada
Jul 16 '14 at 6:36
I'm voting to close this question as off-topic because the poster has clarified that they are using a custom build of apache which renders all solutions moot. Since it can't be replicated or be of any use to others, I see no reason to keep it around.
– Jenny D
Jul 15 '17 at 11:33
add a comment |
The most common problem that seems to cause this error is the directiveRequire all granted
which is only valid in 2.4. I don't see it in the config you have pasted but it could exist in another file. Could you rungrep -r Require /etc/apache2/
?
– Ladadadada
Jul 16 '14 at 6:36
I'm voting to close this question as off-topic because the poster has clarified that they are using a custom build of apache which renders all solutions moot. Since it can't be replicated or be of any use to others, I see no reason to keep it around.
– Jenny D
Jul 15 '17 at 11:33
The most common problem that seems to cause this error is the directive
Require all granted
which is only valid in 2.4. I don't see it in the config you have pasted but it could exist in another file. Could you run grep -r Require /etc/apache2/
?– Ladadadada
Jul 16 '14 at 6:36
The most common problem that seems to cause this error is the directive
Require all granted
which is only valid in 2.4. I don't see it in the config you have pasted but it could exist in another file. Could you run grep -r Require /etc/apache2/
?– Ladadadada
Jul 16 '14 at 6:36
I'm voting to close this question as off-topic because the poster has clarified that they are using a custom build of apache which renders all solutions moot. Since it can't be replicated or be of any use to others, I see no reason to keep it around.
– Jenny D
Jul 15 '17 at 11:33
I'm voting to close this question as off-topic because the poster has clarified that they are using a custom build of apache which renders all solutions moot. Since it can't be replicated or be of any use to others, I see no reason to keep it around.
– Jenny D
Jul 15 '17 at 11:33
add a comment |
2 Answers
2
active
oldest
votes
Sorry, guys, I've found out that I work not with original Apache but with its custom build in which work without authorization is disabled. Thanks for your comments.
add a comment |
I had the same problem, the fix of the configuration file was in my case:
/etc/apache2/mods-enabled/php5.conf
:
adding a #
to the "Require all granted" line and restarting the web server using service apache2 restart
.
That solved the issue for me.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f612872%2fapache-authentification-error%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sorry, guys, I've found out that I work not with original Apache but with its custom build in which work without authorization is disabled. Thanks for your comments.
add a comment |
Sorry, guys, I've found out that I work not with original Apache but with its custom build in which work without authorization is disabled. Thanks for your comments.
add a comment |
Sorry, guys, I've found out that I work not with original Apache but with its custom build in which work without authorization is disabled. Thanks for your comments.
Sorry, guys, I've found out that I work not with original Apache but with its custom build in which work without authorization is disabled. Thanks for your comments.
answered Jul 16 '14 at 7:09
user1088224user1088224
1112
1112
add a comment |
add a comment |
I had the same problem, the fix of the configuration file was in my case:
/etc/apache2/mods-enabled/php5.conf
:
adding a #
to the "Require all granted" line and restarting the web server using service apache2 restart
.
That solved the issue for me.
add a comment |
I had the same problem, the fix of the configuration file was in my case:
/etc/apache2/mods-enabled/php5.conf
:
adding a #
to the "Require all granted" line and restarting the web server using service apache2 restart
.
That solved the issue for me.
add a comment |
I had the same problem, the fix of the configuration file was in my case:
/etc/apache2/mods-enabled/php5.conf
:
adding a #
to the "Require all granted" line and restarting the web server using service apache2 restart
.
That solved the issue for me.
I had the same problem, the fix of the configuration file was in my case:
/etc/apache2/mods-enabled/php5.conf
:
adding a #
to the "Require all granted" line and restarting the web server using service apache2 restart
.
That solved the issue for me.
edited Jan 13 '15 at 22:40
sebix
3,61221838
3,61221838
answered Jan 13 '15 at 20:03
rcamilrcamil
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f612872%2fapache-authentification-error%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
The most common problem that seems to cause this error is the directive
Require all granted
which is only valid in 2.4. I don't see it in the config you have pasted but it could exist in another file. Could you rungrep -r Require /etc/apache2/
?– Ladadadada
Jul 16 '14 at 6:36
I'm voting to close this question as off-topic because the poster has clarified that they are using a custom build of apache which renders all solutions moot. Since it can't be replicated or be of any use to others, I see no reason to keep it around.
– Jenny D
Jul 15 '17 at 11:33