RE: [users@httpd] HTML Documents Showing Up As Code Rather Than W eb Page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There does not appear to be an entry for ExecCGI. Currently the directory has an
Alias directive on it but 
no corresponding ScriptAlias. The current Alias setting is as follows:

	Alias /outputfiles "/<directorypath>/outputfiles"

	<Directory "/<directorypath>/outputfiles">
		Options Indexes FollowSymLinks MultiViews IncludesNoExec
		AllowOverride None
		Order allow,deny
		Allow from all
	</Directory>

What would the ScriptAlias setting be?

-----Original Message-----
From: PMilanese@xxxxxxxx [mailto:PMilanese@xxxxxxxx]
Sent: Thursday, March 10, 2005 8:51 AM
To: users@xxxxxxxxxxxxxxxx
Subject: RE: [users@httpd] HTML Documents Showing Up As Code Rather Than
Web Page


Is ExecCGI allowed on the directory where the script resides?

> -----Original Message-----
> From: Kaplan, Andrew H. [mailto:AHKAPLAN@xxxxxxxxxxxx]
> Sent: Thursday, March 10, 2005 8:48 AM
> To: Apache User List (E-mail)
> Subject: [users@httpd] HTML Documents Showing Up As Code Rather Than Web
> Page
> 
> Hi there --
> 
> I am running a perl script that copies output in the form of an html
page
> to
> another directory and then removes the original file from the source
> directory.
> When the file is copied to its new location a date stamp is appended to
> its
> name. For example <FILE1>.html would become <FILE1>.html<date>.
> 
> When I bring up the file via a web browser using the URL/<directory
alias>
> syntax, the file shows up as source code. If I bring up the file using
> the /<directory path name> syntax, ie: /home/<username>/outputfiles, the
> page
> comes up as it should. What could the problem here, and how do I correct
> it?
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux