![]() |
FAQ/Help |
Calendar |
Search |
#1
|
|||
|
|||
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 |
Reply |
|
![]() |
||||
Thread | Forum | |||
location location location | New Member Introductions | |||
Co-location and Dissociation . . . | Dissociative Disorders | |||
Location Doesn't Matter to Predators | Other Mental Health Discussion | |||
Where are users when their Location says "Private"? | Other Mental Health Discussion | |||
Directory Confusion | Community Feedback & Technical Support |