LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-04-2011, 01:27 PM   #1
s2kib
LQ Newbie
 
Registered: Jun 2011
Posts: 26

Rep: Reputation: Disabled
Psview Problem


Hi

Guys need a help. From last 5 Hours I am trying to make this work But can't.

So what Things I did. I wanted to install psview(http://view.samurajdata.se/)


What I did (IT IS WRITTEN IN INSTRUCTION)

Code:
INSTALLING THE VIEWER

Prerequisite software:
- Apache/PHP
- MySQL
- wv (for viewing word documents)
- ImageMagick (image conversion)
- Ghostscript (for postscript and pdf)
- Wget

Directory layout
In operation, the viewer uses the following directory structure:
- bin/      shell scripts for document conversion
- html/     web pages
- html/rsc/ fetched and converted documents, needs to be writable for apache  
- inc/      php include files

To install the viewer software, perform the following steps:
0: Install prerequisite software.

1: Point apache at the html directory and allow php to include files from the inc directory. An example virtual host configuration can be found in the example.httpd.conf file included in this package. Restart apache.

2: Create a mysql database for the viewer to use, and feed it the file
   - db/psview.sql

3: Edit database and path information in the files
   - inc/db.inc (database connection info)
   - inc/const.inc (path to directories and binaries)
   - bin/render.sh (path to wv, ghostscript and convert)

4: Run the viewer (browse index.html) and fix any problems that crop up, such as missing or wrong path's and url's :-)
I added this to last of httpd.conf

Code:
<VirtualHost 85.25.1.219>
	ServerName bravo.chociz.com

	DocumentRoot /var/www/html/ps/html

	php_admin_value include_path "/home/sajter/view/inc:."

	<Directory /var/www/html/ps/html/rsc>
		Options -Indexes
	</Directory>

</VirtualHost>
and Everytime This Error Comes

Code:
Document error
 Could not view your document. Sorry it didn't work out!

Click here to return to the viewer home page

Any help would be appreciated
 
  


Reply



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
Do I have a path problem, an Apache2 problem or a Javascript problem or any other pro rblampain Linux - Networking 0 12-29-2010 03:50 AM
[SOLVED] Problem booting generic kernel and another problem with fluxbox - libpng warning Switch7 Slackware 17 11-14-2009 03:36 AM
Sound Card problem(every time i install linux i have diffirent hardware problem) jacka1l Linux - Newbie 7 08-11-2005 06:10 AM
Lan configuration problem - NFS boot problem - RX&TX packets errors 242VDM242 Linux - Networking 4 11-25-2004 01:35 PM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM

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

All times are GMT -5. The time now is 05:46 PM.

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