Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Doc1956 on September 20, 2005, 02:35:02 AM

Title: invalid command "RequireSSL"
Post by: Doc1956 on September 20, 2005, 02:35:02 AM
I've just upgrade from sme 6.0 to 7.0.4b evrything went find except for that error.(Syntax error on line 1328 etc/httpd/conf/httpd.conf invalid command "RequireSSL"perhaphs mis-spelled etc....)

Administration : phpMyAdmin
Alias /phpmyadmin /opt/administration/phpmyadmin
<Directory /opt/administration/phpmyadmin>
RequireSSL on
Options -Indexes
AllowOveride None
order deny,allow
deny from all
allow from all
AuthName "phpMyAdmin"
Authtype Basic
AuthExternal pwauth
require user admin
Satisfy all
AddType Application/x-httpd-php .php .php3
php_flag magic_quotes_gpc on
php_flag track_vars       on
</Directory>

Need help thanks you Doc
Title: invalid command "RequireSSL"
Post by: gregswallow on September 20, 2005, 08:52:38 AM
http://forums.contribs.org/index.php?action=search2&search=RequireSSL
Title: invalid command "RequireSSL"
Post by: cno on September 20, 2005, 09:43:05 AM
I get same error on fresh sme7-beta4

after I installed e-smith-phpmyadmin-2.5.0-5dmc.noarch.rpm

for me it was line 608
I just do from RequireSSL to Require SSL that give me another error %r I do search for that and rename
Refereri to refereri.
expanded the template and restarted the server.

that stop the error but I'am not sure this is the correct way !!

I have access to phpmyadmin and can connect from client
Title: invalid command "RequireSSL"
Post by: gregswallow on September 20, 2005, 07:50:02 PM
Maybe that wasn't obvious enough...

--> http://forums.contribs.org/index.php?action=search2&search=RequireSSL<--

People get tired of answering the same questions over and over.  Please search (google, here, sourceforge, the author of the contrib's website) before asking for help.

A little more searching and you could also find at least two rpms for phpmyadmin on SME7 Beta as well.
Title: invalid command "RequireSSL"
Post by: kmilkos on May 18, 2006, 11:02:40 AM
this search query hasn't solved any of my problems. Instead it made them reappear!

For the history i got this error when i installed the phpmyadmin.rpm

since then every time i add an i-bay i get this error and i have to remove the line RequireSSL on from /etc/httpd/conf/httpd.conf

has anyone found a permanent solution to this?


-BLaCKie_MoRGaN
Title: invalid command "RequireSSL"
Post by: boss_hog on May 18, 2006, 02:16:10 PM
Hey kmilkos,
can you tell us exactly which phpmyadmin rpm you install??
Thanks
Joe
Title: invalid command "RequireSSL"
Post by: CharlieBrady on May 18, 2006, 05:50:38 PM
Quote from: "kmilkos"

For the history i got this error when i installed the phpmyadmin.rpm


So uninstall it. Sheesh!
Title: invalid command "RequireSSL"
Post by: kmilkos on May 19, 2006, 07:21:51 AM
The rpm is the one found in

Code: [Select]

http://mirror.contribs.org/smeserver/contribs/nightspirit/e-smith-phpmyadmin/


Version 2.6.0-12-noarch
Title: invalid command "RequireSSL"
Post by: boss_hog on May 19, 2006, 02:34:51 PM
Hey kmilkos,
that contrib should work on the SME6.x servers.
Are you using SME7.x by any chance?
If you are using SME7.x then try this contrib instead:

http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/7.x/smeserver-phpmyadmin-2.6.4-pl4.dmay.noarch.rpm

Good luck
Joe
Title: invalid command "RequireSSL"
Post by: NickCritten on May 23, 2006, 01:56:13 PM
If you've already installed the Nightsprit RPM, you can fix it by editing
Code: [Select]
/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86PhpmyadminAlias
change
Code: [Select]
RequireSSL on to
Code: [Select]
SSLRequireSSL on

Charlie / Greg / Anyone
Is there a dedicated FAQ anywhere for Contribs that I can add this to?
I've looked but cannot find one.

Cheers,
Title: invalid command "RequireSSL"
Post by: NickCritten on May 23, 2006, 02:00:28 PM
Oh! do a
Code: [Select]
expand-template /etc/httpd/conf/httpd.conf as well once you've made the change.
Title: invalid command "RequireSSL"
Post by: bastiaandejonge on January 08, 2007, 05:56:53 PM
I installed a fresh SME 7, Final Release and installed all Yum updates.
Then installed phpMyAdmin 2.8.2 After a few day's i got the same error but only at the server login screen wen not logged in.

More info see:

Possible options are SSLrequire and SSLRequireSLL not RequireSSL

look at /etc/httpd/conf.d/sll.conf te read more information about these functions.

My Solution to this problem was:

I have installed phpMyAdmin 2.8.2 and the file as described above
/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86PhpmyadminAlias
does not exist on my server.

I just changed the file /etc/httpd/conf/httpd.conf and made from RequireSSL --> SSLRequireSSL
but after the expand-template /etc/httpd/conf/httpd.conf the wrong setting was there again.

Then I found the file /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/88PhpmyadminmultiAlias

In this file I changed RequireSSL off   -->  SSLRequireSSL  off

Then i send a expand-template /etc/httpd/conf/httpd.conf and the setting was changed
in the /etc/httpd/conf/httpd.conf file as expected.

Problem solved (for now...)
Title: invalid command "RequireSSL"
Post by: cactus on January 08, 2007, 06:05:43 PM
Quote from: "bastiaandejonge"
I installed a fresh SME 7, Final Release and installed all Yum updates.
Then installed phpMyAdmin 2.8.2 After a few day's i got the same error but only at the server login screen wen not logged in.

More info see:

Possible options are SSLrequire and SSLRequireSLL not RequireSSL

look at /etc/httpd/conf.d/sll.conf te read more information about these functions.

My Solution to this problem was:

I have installed phpMyAdmin 2.8.2 and the file as described above
/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86PhpmyadminAlias
does not exist on my server.
Did you install smeserver-phpmyadmin or did you install phpmyadmin. The latter will not provide configuration templates as this will probably be the version you have downloaded from the phpmyadmin site. The version there is a general phpmyadmin, which you will have to setup yourself.

Quote from: "bastiaandejonge"
I just changed the file /etc/httpd/conf/httpd.conf and made from RequireSSL --> SSLRequireSSL
but after the expand-template /etc/httpd/conf/httpd.conf the wrong setting was there again.

Then I found the file /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/88PhpmyadminmultiAlias

In this file I changed RequireSSL off   -->  SSLRequireSSL  off

Then i send a expand-template /etc/httpd/conf/httpd.conf and the setting was changed
in the /etc/httpd/conf/httpd.conf file as expected.

Problem solved (for now...)
The latter is where you should change things. To get a bit more insight on how the system works read the developers guide (http://mirror.contribs.org/smeserver/contribs/gordonr/devguide/devguide.pdf) about the template system (and the internal configuration database).