IT-OJS/After Installation

Back to System Admin

Proxy settings

 * 1) Add the journal to the "openjournals" section of SQUID on ez.sun.ac.za using the Webmin interface.
 * 2) Add the ez.sun.ac.za proxy settings to the OJS config file.

Setup the default "pub" journal URL for single instance journal publishing
Login as the site admin and create the default journal as pub. See screenshot below.



Go to site settings and setup default redirection. Also amend the journal title. See screenshot below.



Remove "index.php" from the journal URL
Refer to: http://pkp.sfu.ca/support/forum/viewtopic.php?f=8&t=3546

Open the config file. nano /var/www/config.inc.php Enable restful URL's. See example below. restful_urls = On Download the following and save as .htaccess in /var/www. nano /var/www/.htaccess
 * Generate RESTful URLs using mod_rewrite. This requires the
 * rewrite directive to be enabled in your .htaccess or httpd.conf.
 * See FAQ for more details.

 RewriteEngine on  RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php/$1 [QSA,L] 

chown www-data.root /var/www/.htaccess

Restart Apache2 web server. /etc/init.d/apache2 restart

Type the following to "lock-down" the OJS config file. chmod 0644 /var/www/config.inc.php

Register MAC Address
http://www.journals.ac.za/index.php/IT-Server#MAC_Address_Network_Registration

Open Campus Firewall
http://www.journals.ac.za/index.php/IT-Server#Campus_Firewall

Enable Journal Proxy
Add the journal ip address to openjournals rule on the SQUID server on ez.sun.ac.za.
 * Setup Squid

Ask Natasja/Wouter/Hilton to add this address using the web interface to ez.sun.ac.za. Then do the following on the journal: sudo nano /etc/environment Add the following to the bottom of the file. http_proxy=http://ez.sun.ac.za:3128/ https_proxy=http://ez.sun.ac.za:3128/ HTTP_PROXY=http://ez.sun.ac.za:3128/ HTTPS_PROXY=http://ez.sun.ac.za:3128/ Save and exit nano. Modify the config file and add the proxy settings. See example below.
 * Setup Ubuntu Server
 * Setup OJS
 * Proxy Settings ;
 * Proxy Settings ;

[proxy]


 * Note that allow_url_fopen must be set to Off before these proxy settings
 * will take effect.

http_host = ez.sun.ac.za http_port = 3128
 * The HTTP proxy configuration to use
 * proxy_username = username
 * proxy_password = password

Persistent Bugs
When using OJS in non-federated mode or single-journal mode, the following bug creeps in. Has not been fixed in a while!!
 * http://www.journals.ac.za/index.php/Bugs#User_Home_Link