redirection error at preinstall.php?step=3
I am trying to install the AuthPuppy to our church, I am running into some problems, I really need your help. I am a system admin, but not an apache admin.
Here is my server: Linux ccccsvr 2.6.18-
I started aparche, copied authpuppy code into /var/www/html, then I pointed my URL to http://<myserver>
It looks good for all the requirements(step 2), then I clicked the "Next" button, it redirected to the page: http://<myserver>
=======
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
* This problem can sometimes be caused by disabling or refusing to accept
cookies.
=======
Can somebody tell me what did I do wrong?
Thank you very much for your help.
Steve
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- AuthPuppy Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- youngnilly
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Are you on Linux or windows?
Did you do the necessary steps from http://
-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of youngnilly
Sent: 06 January 2012 20:31
To: Robin Jones
Subject: [Question #183924]: redirection error at preinstall.
New question #183924 on AuthPuppy:
https:/
I am trying to install the AuthPuppy to our church, I am running into some problems, I really need your help. I am a system admin, but not an apache admin.
Here is my server: Linux ccccsvr 2.6.18-
I started aparche, copied authpuppy code into /var/www/html, then I pointed my URL to http://<myserver>
It looks good for all the requirements(step 2), then I clicked the "Next" button, it redirected to the page: http://<myserver>
=======
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
* This problem can sometimes be caused by disabling or refusing to accept
cookies.
=======
Can somebody tell me what did I do wrong?
Thank you very much for your help.
Steve
--
You received this question notification because you are an answer contact for AuthPuppy.
Revision history for this message
|
#2 |
I am running Linux.
I tried to follow that guide but it went nowhere. I always get 500 error. The httpd ssl log shows "RSA server certificate is a CA certificate". I could not figure out why I got that error. I gave up and directly used copy to under /var/www/html method.
I consider my self a good system admin, but never apache one. I really need help for the apache part. Please help me.
Revision history for this message
|
#3 |
If I plan to use the apache for AuthPuppy only, can I just change httpd.conf to make it point to the authpuppy directory, instead of the virtualHost method which got me so confused?
Revision history for this message
|
#4 |
So is your directory still: /var/www/
The problem is you do need at least:
DocumentRoot /var/www/
DirectoryIndex index.php
<Directory /var/www/
</Directory>
Alias /sf /var/www/
<Directory "/var/www/
</Directory>
Or a variation of in httpd.conf, otherwise it wont work!
I see no reason this needs to be enclosed in a virtual host, but I don't see that being the problem (although I am no linux guru!)
The ssl error might be http://
-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of youngnilly
Sent: 06 January 2012 20:41
To: Robin Jones
Subject: Re: [Question #183924]: redirection error at preinstall.
Question #183924 on AuthPuppy changed:
https:/
Status: Answered => Open
youngnilly is still having a problem:
I am running Linux.
I tried to follow that guide but it went nowhere. I always get 500 error. The httpd ssl log shows "RSA server certificate is a CA certificate". I could not figure out why I got that error. I gave up and directly used copy to under /var/www/html method.
I consider my self a good system admin, but never apache one. I really need help for the apache part. Please help me.
--
You received this question notification because you are an answer contact for AuthPuppy.
Revision history for this message
|
#5 |
Infact, if your httpd.conf looked like this:
_______
### Section 1: Global Environment
#
ServerType standalone
ServerRoot "/etc/httpd"
PidFile /var/run/httpd.pid
ResourceC
AccessConfig /dev/null
Timeout 300
KeepAlive On
MaxKeepAl
KeepAlive
MinSpareS
MaxSpareS
StartServers 16
MaxClients 512
MaxReques
### Section 2: 'Main' server configuration
#
Port 80
<IfDefine SSL>
Listen 80
Listen 443
</IfDefine>
User www
Group www
ServerAdmin <email address hidden>
ServerName www.openna.com
DocumentRoot "/home/httpd/ona"
<Directory />
Options None
AllowOverride None
Order deny,allow
Deny from all
</Directory>
<Directory "/home/httpd/ona">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Files .pl>
Options None
AllowOverride None
Order deny,allow
Deny from all
</Files>
<IfModule mod_dir.c>
Directory
</IfModule>
#<IfModule mod_include.c>
#Include conf/mmap.conf
#</IfModule>
UseCanoni
<IfModule mod_mime.c>
TypesConfig /etc/httpd/
</IfModule>
DefaultType text/plain
HostnameL
ErrorLog /var/log/
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
SetEnvIf Request_URI \.gif$ gif-image
CustomLog /var/log/
ServerSig
<IfModule mod_alias.c>
ScriptAlias /cgi-bin/ "/home/
<Directory "/home/
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
</IfModuleGT;
<IfModule mod_mime.c>
AddEncoding x-compress Z
AddEncoding x-gzip gz tgz
AddType application/x-tar .tgz
</IfModule>
ErrorDocument 500 "The server made a boo boo.
ErrorDocument 404 http://
ErrorDocument 403 "Access Forbidden -- Go away.
<IfModule mod_setenvif.c>
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
</IfModule>
### Section 3: Virtual Hosts
#
<IfDefine SSL>
AddType application/
AddType application/
</IfDefine>
<IfModule mod_ssl.c>
SSLPassPh
SSLSessio
SSLSessio
SSLMutex file:/var/
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
SSLLog /var/log/
SSLLogLevel warn
</IfModule>
<IfDefine SSL>
<VirtualHost _default_:443>
DocumentRoot "/home/httpd/ona"
ServerName www.openna.com
ServerAdmin <email address hidden>
ErrorLog /var/log/
SSLEngine on
SSLCipher
SSLCertif
SSLCertif
SSLCACert
SSLCACert
SSLCARevo
SSLVerify
SSLVerify
SSLOptions +ExportCertData +StrictRequire
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-
SetEnvIf Request_URI \.gif$ gif-image
CustomLog /var/log/
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" env=!gif-image
<
</IfDefine>
_______
It should end up looking like this:
_______
### Section 1: Global Environment
#
ServerType standalone
ServerRoot "/etc/httpd"
PidFile /var/run/httpd.pid
ResourceC
AccessConfig /dev/null
Timeout 300
KeepAlive On
MaxKeepAl
KeepAlive
MinSpareS
MaxSpareS
StartServers 16
MaxClients 512
MaxReques
### Section 2: 'Main' server configuration
#
Port 80
<IfDefine SSL>
Listen 80
Listen 443
</IfDefine>
User www
Group www
ServerAdmin <email address hidden>
ServerName www.openna.com
DocumentRoot "/home/httpd/ona"
<Directory />
Options None
AllowOverride None
Order deny,allow
Deny from all
</Directory>
<Directory "/home/httpd/ona">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Files .pl>
Options None
AllowOverride None
Order deny,allow
Deny from all
</Files>
<IfModule mod_dir.c>
Directory
</IfModule>
#<IfModule mod_include.c>
#Include conf/mmap.conf
#</IfModule>
UseCanoni
<IfModule mod_mime.c>
TypesConfig /etc/httpd/
</IfModule>
DefaultType text/plain
HostnameL
ErrorLog /var/log/
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
SetEnvIf Request_URI \.gif$ gif-image
CustomLog /var/log/
ServerSig
<IfModule mod_alias.c>
ScriptAlias /cgi-bin/ "/home/
<Directory "/home/
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
</IfModuleGT;
<IfModule mod_mime.c>
AddEncoding x-compress Z
AddEncoding x-gzip gz tgz
AddType application/x-tar .tgz
</IfModule>
ErrorDocument 500 "The server made a boo boo.
ErrorDocument 404 http://
ErrorDocument 403 "Access Forbidden -- Go away.
<IfModule mod_setenvif.c>
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
</IfModule>
### Section 3: Virtual Hosts
#
<IfDefine SSL>
AddType application/
AddType application/
</IfDefine>
<IfModule mod_ssl.c>
SSLPassPh
SSLSessio
SSLSessio
SSLMutex file:/var/
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
SSLLog /var/log/
SSLLogLevel warn
</IfModule>
<IfDefine SSL>
<VirtualHost _default_:443>
DocumentRoot "/home/httpd/ona"
ServerName www.openna.com
ServerAdmin <email address hidden>
ErrorLog /var/log/
SSLEngine on
SSLCipher
SSLCertif
SSLCertif
SSLCACert
SSLCACert
SSLCARevo
SSLVerify
SSLVerify
SSLOptions +ExportCertData +StrictRequire
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-
SetEnvIf Request_URI \.gif$ gif-image
CustomLog /var/log/
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" env=!gif-image
<
</IfDefine>
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName authpuppy.localhost
ServerAlias authpuppy.test
DocumentRoot /var/www/
<Directory /var/www/
</Directory>
Alias /sf /var/www/
<Directory "/var/www/
</Directory>
ErrorLog /var/log/
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/
</VirtualHost>
_______
Hope that helps...
Revision history for this message
|
#6 |
Infact, if your httpd.conf looked like this:
_______
### Section 1: Global Environment
#
ServerType standalone
ServerRoot "/etc/httpd"
PidFile /var/run/httpd.pid
ResourceC
AccessConfig /dev/null
Timeout 300
KeepAlive On
MaxKeepAl
KeepAlive
MinSpareS
MaxSpareS
StartServers 16
MaxClients 512
MaxReques
### Section 2: 'Main' server configuration
#
Port 80
<IfDefine SSL>
Listen 80
Listen 443
</IfDefine>
User www
Group www
ServerAdmin <email address hidden>
ServerName www.openna.com
DocumentRoot "/home/httpd/ona"
<Directory />
Options None
AllowOverride None
Order deny,allow
Deny from all
</Directory>
<Directory "/home/httpd/ona">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Files .pl>
Options None
AllowOverride None
Order deny,allow
Deny from all
</Files>
<IfModule mod_dir.c>
Directory
</IfModule>
#<IfModule mod_include.c>
#Include conf/mmap.conf
#</IfModule>
UseCanoni
<IfModule mod_mime.c>
TypesConfig /etc/httpd/
</IfModule>
DefaultType text/plain
HostnameL
ErrorLog /var/log/
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
SetEnvIf Request_URI \.gif$ gif-image
CustomLog /var/log/
ServerSig
<IfModule mod_alias.c>
ScriptAlias /cgi-bin/ "/home/
<Directory "/home/
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
</IfModuleGT;
<IfModule mod_mime.c>
AddEncoding x-compress Z
AddEncoding x-gzip gz tgz
AddType application/x-tar .tgz
</IfModule>
ErrorDocument 500 "The server made a boo boo.
ErrorDocument 404 http://
ErrorDocument 403 "Access Forbidden -- Go away.
<IfModule mod_setenvif.c>
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
</IfModule>
### Section 3: Virtual Hosts
#
<IfDefine SSL>
AddType application/
AddType application/
</IfDefine>
<IfModule mod_ssl.c>
SSLPassPh
SSLSessio
SSLSessio
SSLMutex file:/var/
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
SSLLog /var/log/
SSLLogLevel warn
</IfModule>
<IfDefine SSL>
<VirtualHost _default_:443>
DocumentRoot "/home/httpd/ona"
ServerName www.openna.com
ServerAdmin <email address hidden>
ErrorLog /var/log/
SSLEngine on
SSLCipher
SSLCertif
SSLCertif
SSLCACert
SSLCACert
SSLCARevo
SSLVerify
SSLVerify
SSLOptions +ExportCertData +StrictRequire
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-
SetEnvIf Request_URI \.gif$ gif-image
CustomLog /var/log/
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" env=!gif-image
<
</IfDefine>
_______
It should end up looking like this:
_______
### Section 1: Global Environment
#
ServerType standalone
ServerRoot "/etc/httpd"
PidFile /var/run/httpd.pid
ResourceC
AccessConfig /dev/null
Timeout 300
KeepAlive On
MaxKeepAl
KeepAlive
MinSpareS
MaxSpareS
StartServers 16
MaxClients 512
MaxReques
### Section 2: 'Main' server configuration
#
Port 80
<IfDefine SSL>
Listen 80
Listen 443
</IfDefine>
User www
Group www
ServerAdmin <email address hidden>
ServerName www.openna.com
DocumentRoot "/home/httpd/ona"
<Directory />
Options None
AllowOverride None
Order deny,allow
Deny from all
</Directory>
<Directory "/home/httpd/ona">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Files .pl>
Options None
AllowOverride None
Order deny,allow
Deny from all
</Files>
<IfModule mod_dir.c>
Directory
</IfModule>
#<IfModule mod_include.c>
#Include conf/mmap.conf
#</IfModule>
UseCanoni
<IfModule mod_mime.c>
TypesConfig /etc/httpd/
</IfModule>
DefaultType text/plain
HostnameL
ErrorLog /var/log/
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
SetEnvIf Request_URI \.gif$ gif-image
CustomLog /var/log/
ServerSig
<IfModule mod_alias.c>
ScriptAlias /cgi-bin/ "/home/
<Directory "/home/
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
</IfModuleGT;
<IfModule mod_mime.c>
AddEncoding x-compress Z
AddEncoding x-gzip gz tgz
AddType application/x-tar .tgz
</IfModule>
ErrorDocument 500 "The server made a boo boo.
ErrorDocument 404 http://
ErrorDocument 403 "Access Forbidden -- Go away.
<IfModule mod_setenvif.c>
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
</IfModule>
### Section 3: Virtual Hosts
#
<IfDefine SSL>
AddType application/
AddType application/
</IfDefine>
<IfModule mod_ssl.c>
SSLPassPh
SSLSessio
SSLSessio
SSLMutex file:/var/
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
SSLLog /var/log/
SSLLogLevel warn
</IfModule>
<IfDefine SSL>
<VirtualHost _default_:443>
DocumentRoot "/home/httpd/ona"
ServerName www.openna.com
ServerAdmin <email address hidden>
ErrorLog /var/log/
SSLEngine on
SSLCipher
SSLCertif
SSLCertif
SSLCACert
SSLCACert
SSLCARevo
SSLVerify
SSLVerify
SSLOptions +ExportCertData +StrictRequire
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-
SetEnvIf Request_URI \.gif$ gif-image
CustomLog /var/log/
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" env=!gif-image
<
</IfDefine>
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName authpuppy.localhost
ServerAlias authpuppy.test
DocumentRoot /var/www/
<Directory /var/www/
</Directory>
Alias /sf /var/www/
<Directory "/var/www/
</Directory>
ErrorLog /var/log/
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/
</VirtualHost>
_______
Hope that helps...
-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of youngnilly
Sent: 06 January 2012 20:51
To: Robin Jones
Subject: Re: [Question #183924]: redirection error at preinstall.
Question #183924 on AuthPuppy changed:
https:/
youngnilly gave more information on the question:
If I plan to use the apache for AuthPuppy only, can I just change httpd.conf to make it point to the authpuppy directory, instead of the virtualHost method which got me so confused?
--
You received this question notification because you are an answer contact for AuthPuppy.
Revision history for this message
|
#7 |
be careful with my answer above though as it is not a standard httpd.conf file, just one i found on google!
Revision history for this message
|
#8 |
Hi Robin, I decided to not use virtual host, and used what you suggested at the first reply. It was still not working. Then I wiped out the authpuppy code I downloaded and untar'ed a new set. It worked out of the box!
This problem is now solved.
Thank you very much.This is a great site!
Steve
Revision history for this message
|
#9 |
Robin,
Why using a complex http.conf from google. I thought i was missing a lot of thing in my own http.conf file. I have the same problem too. I can go there: http://
My httpd.conf is :
ServerName localhost
NameVirtualHost 127.0.0.1:8080
# This is the configuration for your project
Listen 127.0.0.1:8080
<VirtualHost 127.0.0.1:8080>
ServerAdmin webmaster@localhost
ServerName authpuppy.localhost
ServerAlias authpuppy.test
DocumentRoot /var/www/
<Directory /var/www/
</Directory>
Alias /sf /var/www/
<Directory "/var/www/
</Directory>
ErrorLog /var/log/
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/
</VirtualHost>
Revision history for this message
|
#10 |
Andrei,
From your config file, you shouldn't access your authpuppy server with this url http://
Given your apache configuration, you should use http://
Revision history for this message
|
#11 |
Thanks a lot ! It does work that way. Thanks !