Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Simple Server Includes Malfunctioning

case sensitive

  • Please log in to reply
2 replies to this topic

#1 Ruined1

Ruined1

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 13 August 2009 - 09:12 PM

Server: IIS 5.1 (XPpro)
SSI extensions: .shtm, .shtml, .html
Perl Installed
PHP Installed

I seem to be running into an issue with my Index.html. I can make a call to save a value through a download counter script written in PERL. (Highlighted in Red) It correctly saves the needed information everytime a download link is clicked.

However,

When I make a call to this value to retrieve it, I get HTTP 404 Not Found in place of the value Im expecting to be displayed. (Highlighted in Blue)

1. As stated in the beginning I have SSI adapted to .html extensions, so that isn't the issue
2. I have checked that all dirpaths are spot on and case sensitive.


Index.html
<html>
<body bgcolor="black" link="Blue" vlink="Blue" alink="White">
<font color="Cyan">
<center>

<p>
<img src="<censored>/images/banner.jpg">
<font color="Red"><h3>~-PAFR-~</br>Unofficial <censored> Community Mirror!</br></br></h3></font>
<font color="LimeGreen" size="1">Hope you Enjoy!</br>Best Regards,</br><censored></br></br></br></font>

<hr width="75%"></br>
[color=red]<a href="/cgi-bin/unicounter/unicounter.pl?name=D3DStartKit&trackip=10&deliver=<censored>/files/D3D_Starterkit_v3.0b.zip">D3D Starter Kit v3.0 b</a>[/color]</br>
<font size="1">ORIGINAL UNTOUCHED - 68 KB - Downloaded: [color=blue]<!--#include virtual="/cgi-bin/unicounter/unicounter.pl?name=D3DStartKit&write=ssi&inc=0&trackip=0" -->[/color] </br>
Credits to <censored> and the <censored> Community</br></br><a href="virus.scan.address" border="1"></br>VirusTotal Results</a></br></br></font>

<hr width="75%"></br>


</p>
</center>
</font>
</body>
</html>

  • 0

#2 KevinADC

KevinADC

    CC Addict

  • Just Joined
  • PipPipPipPipPip
  • 125 posts

Posted 15 August 2009 - 10:10 AM

Can you get any SSI to work? Try something simple for now, just a text file in the webroot and see if your SSi tag can fetch that and print it properly. I doubt the problem has anything to do with perl though, its probably a IIS issue.
  • 0

#3 DigitalLinx

DigitalLinx

    CC Newcomer

  • Just Joined
  • PipPip
  • 11 posts

Posted 28 August 2009 - 09:17 AM

Is the #include directive being displayed when you visit that page with a browser? If so then SSI is definitely not enabled or configured for .html extensions.
  • 0





Also tagged with one or more of these keywords: case sensitive

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download