Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I posted a query a short while ago and had an informed answer within a couple of hours. Terrific!..."

Geography

Where in the world do Tek-Tips members come from?

Apache server 2.2 configuration

itsmesaru (Programmer)
6 Jul 12 6:46
Hi,
I am having a windows 2003 server where Apache server 2.2 is installed. I am having a application which comprise of front end and back end. Front end and back end are different technologies. In the front end user will pass some parameter then request is passed to back end for processing. Back end is producing a pdf where the front end needs to display the pdf file as a result.I am getting error in the apache log.

GET /cgi-bin/broker.exe?_service=andev&_program=pgm_fil3.mdi-compute-driver.sas&oraInstance=vprlims&startingPlate=1&sample_number=24088&analysis=CASC1&user=user&cnt=3&s=BEGINNING HTTP/1.1" 302 242
54.56.39.57 - - [05/Jul/2012:07:07:40 -0400] "GET /et/project-et/temp/MDI1917925653.935.pdf HTTP/1.1" 404 238


The problem here is the file is generated in f drive but apache is looking for a file in C drive. I want to know how i can redirect the apache server to f drive where the file is actually generated.

Let me know if more information is required.

Thanks,
Partha!

ChrisHirst (IS/IT--Management)
9 Jul 12 17:49
Modify the backend system to create the files in the website document root folders would be the obvious thing.

Apache will not "follow" Windows shortcuts as it will *nix symlinks, but there is a PHP solution [link https://www.apachelounge.com/viewtopic.php?p=2960]here[/link.

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

itsmesaru (Programmer)
10 Jul 12 1:16
Hi Chris,
The backend system is SAS. In the code i have changed the location to point apache installation path but the pdf is created in F drive instead of C drive.So i am not sure whether any web config is required to point apache installation location.Even i have tried with httpd.conf changing the root directory and location but it also fails. By default it is looking in installation location not in F drive.

Thanks,
Partha!

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close