Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 134 of 807  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subjectdown
  67205   Wed Feb 22 13:18:37 2012 Question Adam dellzoid@hotmail.comQuestionLinux2.7.8Re: redirect permission

Adam wrote:

Hi All,

Perhaps a trivial question but some issues have arisen accessing my long-running elog with SSL enabled.  I suspect firewalls and browser updates are involved and I do not have the time or experience to diagnose and debug such a potential black-hole of difficulties.  Instead I am looking for a quick fix, and the first step - switching off sll - seems to work.  Now I would like to use redirect so that the elog is running under apache, however this is where I have stumbled; I have passwords so the plan is to eventually secure using apache.  Apache works fine and is running pages on ports 80 and 443, although I seem unable to redirect the elog (port 8080).  Following the instructions on the administrators guide I get:

Forbidden

You don't have permission to access /elog/ on this server.

The page is found at least so my redirect is doing something, and I suspect the solution is trivial, though I'm not too sure where to start.

 

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

 

Also, what is  the best practice for updating one's elog version.  I originally installed using a tarball.

 

 

 

 Still struggling with this issue, if anyone has managed to solve it let me know.   I've done the obvious and checked ownership/ permissions of the elog folders and they are exactly the same as etc/var/www, which is working in apache.

  1618   Mon Jan 23 10:57:45 2006 Reply Stefan Rittstefan.ritt@psi.chBug reportLinux2.6.1 Re: redirect errors via apache2
> Since elog 2.6.0 we cannot redirect our elog via apache2.
> 
> in apache2.conf we have (had for a long time):
> Redirect permanent /elog http://elog.oursite.com/elog/
> ProxyPass /elog/ http://elog.oursite.com:8080/
> 
> When visiting the url, this results in:
> The proxy server received an invalid response from an upstream server.
> The proxy server could not handle the request GET /elog/myelog/.
> 
> After testing we found that ELOG V2.6.0-beta2 works just fine.
> 2.6.0 stable crashes after visiting a redirected url.
> 
> Running on debian sarge

Have you tried 2.6.1. I released it just recently, so I don't know when it will be available for Debian. Have you
checked that your "URL = xxx" statement in the config file is correct? I see above "myelog", while the proxy
passes requests to "elog".
  1619   Mon Jan 23 11:18:48 2006 Reply djekdjek@xs4all.nlBug reportLinux2.6.1 Re: redirect errors via apache2
> > Since elog 2.6.0 we cannot redirect our elog via apache2.
> > 
> > in apache2.conf we have (had for a long time):
> > Redirect permanent /elog http://elog.oursite.com/elog/
> > ProxyPass /elog/ http://elog.oursite.com:8080/
> > 
> > When visiting the url, this results in:
> > The proxy server received an invalid response from an upstream server.
> > The proxy server could not handle the request GET /elog/myelog/.
> > 
> > After testing we found that ELOG V2.6.0-beta2 works just fine.
> > 2.6.0 stable crashes after visiting a redirected url.
> > 
> > Running on debian sarge
> 
> Have you tried 2.6.1. I released it just recently, so I don't know when it will be available for Debian.

No it doesn't work with 2.6.1. I hoped it would be fixed, but I should have reported it sooner.
I compiled 2.6.1 myself.
The original version was a debian package, after that, we compile elog ourselves and copy elogd manually over the old
version. Just to stay up-to-date.

> Have you checked that your "URL = xxx" statement in the config file is correct? I see above "myelog", while the
proxy passes requests to "elog".

I changed our urls, just to be safe.
myelog is a 'sublogbook', like forum here. http://elog.oursite.com/elog/myelog

We are running V2.6.0-beta2 and it runs fine, without any alterations to our config files.
All previous versions runned fine too.

update:
After further testing on a different server, it seems to be an issue with the proxy and the proxy_http modules in sarge.
after loading and unloading  proxy_http this is the error:
The proxy server received an invalid response from an upstream server.
  69508   Mon Apr 18 21:01:23 2022 Reply Konstantin Olchanskiolchansk@triumf.caQuestionLinuxnot knownRe: recovery of elog from backup disk
unfortunately instructions do not exist to cover every possible situation.

but in general, to migrate elog to a new machine, I would say do this:
- on new machine, install new elog from scratch
- copy the old elogs from "logbooks" on the backup disk to the new elog "logbooks"
- merge the config file by hand (this may require a few tries)

feel free to ask for more help with any of these steps here.
K.O.
  69516   Thu Apr 21 03:45:20 2022 Reply neerajan nepalnepal1n@cmich.eduQuestionLinuxnot knownRe: recovery of elog from backup disk
> unfortunately instructions do not exist to cover every possible situation.
> 
> but in general, to migrate elog to a new machine, I would say do this:
> - on new machine, install new elog from scratch
> - copy the old elogs from "logbooks" on the backup disk to the new elog "logbooks"
> - merge the config file by hand (this may require a few tries)
> 
> feel free to ask for more help with any of these steps here.
> K.O.

Thank you so much. It worked this way. 
  69704   Mon Oct 23 16:15:06 2023 Reply Stefan RittUsestefan.ritt@psi.chQuestionLinux3.1.4Re: read-only elog server

Use

Menu commands = List, Find, Help

to remove all command which let you create or edit entries (New, Reply, Edit, ...) 

Then do the same with "List menu commands = ..."

/Stefan

Germano Massullo wrote:

Good day. I am writing this post to ask how I can turn an elog website into a read-only version that will stay online for historical documention purposes.

I tried to search on Elog documentation but I had no success

Thank you and have a nice day

 

  69791   Sun Apr 28 14:45:22 2024 Reply Bockjoo Kimbockjoo@gmail.comQuestionLinux3.1.4Re: read-only elog server

Hi,

Could you be more specific? Where do I get the 'Menu commands"?

Thanks,

Bockjoo

Stefan Ritt wrote:

Use

Menu commands = List, Find, Help

to remove all command which let you create or edit entries (New, Reply, Edit, ...) 

Then do the same with "List menu commands = ..."

/Stefan

Germano Massullo wrote:

Good day. I am writing this post to ask how I can turn an elog website into a read-only version that will stay online for historical documention purposes.

I tried to search on Elog documentation but I had no success

Thank you and have a nice day

 

 

  69792   Mon Apr 29 15:22:37 2024 Reply Laurent Jean-Rigaudlollspam@free.frQuestionLinux3.1.4Re: read-only elog server

The menu is the line with available functions, customizable in logbooks config

Also, these are buttons in logbook edit view.

 

Bockjoo Kim wrote:

Hi,

Could you be more specific? Where do I get the 'Menu commands"?

Thanks,

Bockjoo

Stefan Ritt wrote:

Use

Menu commands = List, Find, Help

to remove all command which let you create or edit entries (New, Reply, Edit, ...) 

Then do the same with "List menu commands = ..."

/Stefan

Germano Massullo wrote:

Good day. I am writing this post to ask how I can turn an elog website into a read-only version that will stay online for historical documention purposes.

I tried to search on Elog documentation but I had no success

Thank you and have a nice day

 

 

 

ELOG V3.1.5-3fb85fa6