Home Menu

Menu


Reply
Thread Tools Display Modes
  #1  
Old Feb 01, 2002, 05:00 PM
aflones aflones is offline
New Member
 
Member Since: Feb 2002
Posts: 2
I am configuring Open Journal to work with my Apache installation as a virtual host. I am having some configuration problems because of OJ's assumption that it will be used as part of an existing Web site. In my case OpenJournal will be the entire Web at a given host.

Your configuration presumes something like this:
<blockquote>http://server.host.ext/oj/</blockquote>
with "/oj" being the configuration parameter, $ojdir. Unfortunately this is used to specify both the content directory <u>and</u> the content's URL. This limits OJ's flexibility.

I want to access my OJ content via a configured virtual host:
<blockquote>http://server.host.ext/</blockquote>
I would like to recommend that your design be modified to provide the following delineations in the configuration:
<blockquote>Code Location
Code Directory
Content Location
Content Directory</blockquote>
By Web Location, I mean a URL accessed by appending it to $baseurl (as defined in oj.cfg). The configuration should allow a null location, "/", for both Code and Content.

In my case, these would be set as:
<blockquote>Code Location /cgi-bin
Code Directory /usr/local/apache/oj-bin
Content Location /
Content Directory /usr/local/apache/oj</blockquote>
Content directory is the server's home directory. Your default configuration would specify Content Location as "/oj". I set it to "/" because my server configuration already uses "/usr/local/apache/oj" as a home directory.

OpenJournal can discriminate between locations (links in the generated HTML) and directories (directories containing files within the local file system). There is not likely to be any confusion between the two because they are used in totally different contexts. This will help admins immensely by providing some additional flexibility for server configuration.

Some other issues:

After adding a post I am taken to another form which gives me three links:
<blockquote>New Post <---Link to newly added content???
My Journal Index <---Link to OJ site index
Back to OpenJournal Console <---Link to what?</blockquote>
Two of these three links do not work.
<blockquote>New Post links to http://server.host.ext/cgi-bin/story/020121301.html
when it should clearly be: http://server.host.ext/story/020121301.html</blockquote>
The link, "Back to OpenJournal console" links to:
http://server.host.ext/cgi-bin/oj.cg...5&userid=uname

The passed in "uid" is the same as a file name, uname.123456789012345, in the ojauth/ directory (my /usr/local/apache/oj-bin/ojauth/).

Clicking this link leads me to a page that only says:
<blockquote>error: ok
Back to OpenJournal <--Link back to the login screen at "/cgi-bin/oj.cgi"</blockquote>
Assistance on these would be appreciated.

Thanks,
Arne Flones
flonesaw at longship dot net


advertisement
Reply
Views: 842

attentionThis is an old thread. You probably should not post your reply to it, as the original poster is unlikely to see it.



Similar Threads
Thread Thread Starter Forum Replies Last Post
location location location mewhobeme New Member Introductions 6 Sep 22, 2008 09:11 AM
Co-location and Dissociation . . . Samanthaq Dissociative Disorders 9 May 15, 2007 03:39 PM
Location Doesn't Matter to Predators Lexicon78 Other Mental Health Discussion 13 Jun 03, 2006 10:31 AM
Where are users when their Location says "Private"? Twisted_Soul Other Mental Health Discussion 18 Feb 25, 2006 08:51 PM
Directory Confusion KentWA Community Feedback & Technical Support 1 Jul 31, 2003 01:57 AM


All times are GMT -5. The time now is 11:09 PM.
Powered by vBulletin® — Copyright © 2000 - 2025, Jelsoft Enterprises Ltd.




 

My Support Forums

My Support Forums is the online community that was originally begun as the Psych Central Forums in 2001. It now runs as an independent self-help support group community for mental health, personality, and psychological issues and is overseen by a group of dedicated, caring volunteers from around the world.

 

Helplines and Lifelines

The material on this site is for informational purposes only, and is not a substitute for medical advice, diagnosis or treatment provided by a qualified health care provider.

Always consult your doctor or mental health professional before trying anything you read here.