LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-09-2011, 04:11 PM   #1
vockleya
Member
 
Registered: Aug 2009
Posts: 87

Rep: Reputation: 16
Webmin through Apache proxy - authentication cookies not working


I am trying to set up Apache and Webmin so that I can access Webmin by going to https://mysite.com/webmin/. I am using the direction at http://www.webmin.com/apache.html under the "Webmin In A Sub-Directory Via A Proxy" section. I had this setup working before, but I think an update of either Webmin or Apache broke it. Now, I can go the the webpage and I see the login screen. However, when I try to log in, I get an error.
Quote:
Error - No cookies

Your browser does not support cookies, which are required for this web server to work in session authentication mode
I have tried adding the ProxyPassReverseCookieDomain and ProxyPassReverseCookiePath directives to my virtual host config file, but it still doesn't work.

Quote:
# webmin
ProxyPass /webmin/ http://localhost:10000/
ProxyPassReverse /webmin/ http://localhost:10000/
ProxyPassReverseCookieDomain /webmin/ http://localhost:10000/
ProxyPassReverseCookiePath /webmin/ http://localhost:10000/
The Apache error log shows nothing when this happens, but the access log shows what could be a 500 error every time.

Quote:
[09/Jul/2011:17:05:31 -0400] "POST /webmin/session_login.cgi HTTP/1.1" 500 3411 "https://vockley.com/webmin/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.41 Safari/535.1"
Any idea what is wrong? Any help would be greatly appreciated.
 
Old 07-09-2011, 09:33 PM   #2
vockleya
Member
 
Registered: Aug 2009
Posts: 87

Original Poster
Rep: Reputation: 16
I got it working. I forgot about another proxy I had set up. Some of those settings were overriding these ones. I just put each proxy in its own <Location> tag and everything works.
 
  


Reply

Tags
apache, webmin



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] still having problems with Webmin and apache not working blainemiller Linux - Software 15 09-07-2010 09:26 PM
authentication with apache reverse proxy jonfa Linux - Networking 0 05-23-2008 04:15 PM
Apache / Webmin Not Working Verbal Kint Linux - Networking 8 09-28-2006 08:59 PM
Apache Reverse Proxy authentication dlublink Linux - Networking 0 12-18-2005 01:38 PM
Webmin- Says browser will not accept cookies. cnmill Linux - Networking 0 04-11-2002 11:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration