Re: Apache vs IIS



HI

There are some options ASPX handlers ASHX in ASP.NET that lets you tell how
to access files, what files to be wievable or what files to hide. As an
example you can't look as a .cs file. YOu can set up ASHX so that specific
image files are handled specificly. This can be very useful if you for
example want to be able to show the images but not to download. Or play mp3
files but not let the users download them.

It might be that the user doesn't have the right to read the file.

If the page mixes PHP and ASP it might be a problem.

I think it's a configuration problem.

Check the following

*) Does the user have the right to read the image file and the folder where
it is stored if it's stored in a subfolder.

*) Don't if you can mix ASP.NET and PHP scripts. If you can then you should
check so not the file format is disabled for viewing in ASP.NET.



I have a site program in PHP and HTML and after evaluating ASP.NET I will
try to move all my sites to ASP.NET 2.0 oor later. It's so much easier to
handle database information form ASP.NET. With PHP you need to either write
the database access procedures or get third party tools. This is much eaier
in ASP.NET.

Apache vs IIS? I haven't got ASP.NET to work on Apache niether on my Windows
Server not on my Linux Server so there for I would chose IIS. Not that
Apache is bad but ASP.NET is far easier and faster to create good web forms
in.


Lars


"eclipsme" <eclipsme@xxxxxxxxxxx> skrev i meddelandet
news:9WHxj.1586$rE5.1079@xxxxxxxxxxxxxxxxxxxxxxxxx
Hi all,

I have a photo gallery script that runs perfectly on an Apache server, but
when I upload it to an IIS server I get the following error when clicking
on a thumbnail:

"BAD REQUEST Please go back and request another image"

Is this a configuration problem? Is it a problem with the script itself? I
don't know where to being looking, so any ideas are appreciated.

Thanks,
Harvey Wasserman


.



Relevant Pages

  • Re: write with cURL
    ... execute permissions. ... This is assuming that the PHP script runs ... of potential security risks from other users on the same server. ... Apache as the global web server user and thus needs world write ...
    (alt.php)
  • Re: Apache vs IIS
    ... Windows Server not on my Linux Server so there for I would chose IIS. ... Not that Apache is bad but ASP.NET is far easier and faster to create good web forms in. ... PHP on a IIS server is rather easy to run once you install PHP on a PC but if you only use PHP why not use Apache for Windows. ...
    (alt.php)
  • Re: Apache vs IIS
    ... my Windows Server not on my Linux Server so there for I would ... IIS is designed for ASP, ... can run asp on Apache, ... in running php from IIS vs Apache. ...
    (alt.php)
  • RE: Virtual hosts and PHP "downloads": php5 and apache22 on FreeBSD6.1-STABLE
    ... Apache web server. ... Subject: Virtual hosts and PHP "downloads": php5 and apache22 on ...
    (freebsd-questions)
  • Re: Virtual hosts and PHP "downloads": php5 and apache22 on FreeBSD6.1-STABLE
    ... Apache web server. ... Subject: Virtual hosts and PHP "downloads": php5 and apache22 on ...
    (freebsd-questions)