php files requesting user login??
Hello,
The system is Win 2000 server running IIS 5. All of a sudden php files
requests users to login!! This doesnt happen when html files are
requested. The website has anonymous access enabled and the ACL
permissions on NTFS looks fine. Any ideas?
Thanks,
Ram. Tag: Can this be done with IIS or should I spin my own server? Tag: 343581
IIS redirection
I'm new to IIS and I'm trying to redirect all requests to my website
that don't have www to www.mywebsite.com.
In apache I would use a .htaccess to do this, and it would look
something like this.
------------------
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.mydomain\.com
RewriteRule .* http://www.mydomain.com%{REQUEST_URI} [R=301,L]
------------------
This tells apache to redirect anything that doesn't begin with
www.mydomain.com to www.mydomain.com/whateverwashere. so
mydomain.com/page.html would be redirected to
www.mydomain.com/page.html.
How can I do something like this on IIS? Tag: Can this be done with IIS or should I spin my own server? Tag: 343580
Internal IIS server - "connection refused"
My IIS server is setup on a computer with an internal IP address. I have
configured my DSL router to forward to port 80 of this IIS server. But
when the URL for my domain is entered into a web browser, I receive
"connection refused" error. Any clues?
Thanks!
LuAnn Tag: Can this be done with IIS or should I spin my own server? Tag: 343574
Web Componente Server
How install Crystal Report Web Server 8 in Windos server
2003? Tag: Can this be done with IIS or should I spin my own server? Tag: 343573
iis 5.1 will not work
my iis 5.1 was working fine for couple months and then it
just stopped functioning. I am behind a router and I have
norton internet security installed as well.
I have configured my router to allow access to the web
sever as well as norton (server was working fine with
norton and router before).
I decided to uninstall and re-install iis but that did
not seem to work. Every time I try to access the iis snap-
in, it does not start, until I end the inetinfo.exe
process. The snap-in will then only function for a short
time.
I have also ran the sfc /scannow and that did not seem
to have any effect.
iisreset will stop the service but when it trys to
restart it the following error message comes up:
The service did not respond to the start or control
request in a timely fashion, <2147942452, 8007041d>
Anyone have any ideas? Tag: Can this be done with IIS or should I spin my own server? Tag: 343560
keeping open connections around indefintely?
Hi,
I'm a IIS newbie (but not a programmer newbie) so don't flame me too much.
I want to be able to have clients that I'm writing use IIS to connect and
keep a socket open until they are shut down. So, the socket connection
would be persistant and I would be able to send and recv data from my
clients through this nailed-up pipe (my own binary data, not html). I don't
want to deal with the setup and takedown time of a tcp connection for each
client communication. After I connect once, just keep it around forever for
data.
Can I do this via IIS? Would the way be to write an IIS extension?
Thanks for any suggestions or pointing in the right direction...
Chris Tag: Can this be done with IIS or should I spin my own server? Tag: 343552
Windows NAT server doesn't allow internal web server
My server is running windows 2003, and is configured as a NAT Router. I want
it to allow internet users to find my web site, wich is located on one of my
internal workstations.
I opened up the Routing and Remote Access Microsoft Management console and
tried to open the "port 80". but it doesn't work. (by the way, i don't have
any other firewall running).
here's how i proceded :
Start Menu >Administrative tools > Routing and Remote Access.
At the RRAS MMC:
Local Server > IP Routing > NAT/Basic Firewall
In the right pane, right clicked the internet NIC, and choosed the "Services
and Ports" tab.
Hilighted and checked the Web server option and pressed "Edit".
In the Private Address i put my Internal workstation's IP Adress.
Where did i go wrong, or what else do i need to do Tag: Can this be done with IIS or should I spin my own server? Tag: 343551
Frontpage Extensions
I am trying to develop a corporate intranet but my
Frontpage Components on the site aren't working.
According to the Add/Remove Windows Components, I have
the Frontpage 2000 extensions installed on the server but
I get the following error when viewing the site.
The rest of the site works fine except my database
results and forms.
What am I missing?
Thanks!
Phil Tag: Can this be done with IIS or should I spin my own server? Tag: 343549
Asking for SMTP Server help
Hey all,
We have a Windows 2000 Server running IIS5 and we added the SMTP service to
it. We are attempting to get this box set up to relay email to the "outside
world" for a new system we have here. We have not messed with it much so
everything is pretty much default. However, whenever email is sent it
appears to be adding header type information inside the email body.
I did a quick test email and this is the body:
-----------------
Return-Path: webmaster@[...company name...]
Message-ID: <INTRA-WEBX3cf3ednHM00000224@intra-web.pinalcounty.mis>
X-OriginalArrivalTime: 01 Sep 2004 15:23:07.0609 (UTC)
FILETIME=[95536C90:01C49037]
Date: 1 Sep 2004 08:23:07 -0700
Testing the email SMTP server
-----------------
I have tried looking through all the tabs under Properties in the IIS
Management utility. I don't see anything that allows me to modify, change,
or disable this. I am not having any luck looking through the help files,
or my Google attempts. I personally have no experience with the Microsoft
IIS SMTP service so I ask for your help on this. Your input is greatly
appreciated.
-- Andrew Tag: Can this be done with IIS or should I spin my own server? Tag: 343546
w3srv
Hi
We have OWA running on our exchange 2000 server but all of
a sudden it cannot be accessed.
I have noticed a few errors from last night the first one
was for McAfee group shield 9 which was:
Event ID: 2045
The OnAccess (Transport) scanner failed to scan the
item '' with error 80040236.
This seems to have caused this error:
Event ID: 1015
The timeout waiting for the performance data collection
function "W3SVC" in the "C:\WINNT\system32\w3ctrs.dll"
Library to finish has expired. There may be a problem
with this extensible counter or the service it is
collecting data from or the system may have been very
busy when this call was attempted.
Which caused servics control errors:
Event ID 7031
The IIS Admin Service service terminated unexpectedly. It
has done this 2 time(s). The following corrective action
will be taken in 1 milliseconds: Run the configured
recovery program.
The IIS service seems to be running now and I have tried
restarting the service and it seems to be up in the
services mmc and I have stopped the Groupshield services
but still I cannot access OWA
Has anyone any ide Tag: Can this be done with IIS or should I spin my own server? Tag: 343543
ASP.NET Application configuration
Hi,
I have got a shared hosting package with 1&1. It seems to work well.
However, I have hit a small hosting problem which I suspect might be
something to do with IIS settings.
Basically I have 1 domain and 1 subdomain
www.mydomain.com
development.mydomain.com
In my web space I have 2 application directories "Live" and "Development"
created using Front Page Server Extensions upload from VS dotnet using Copy
Project. As I understand it, this should configure these directories under
IIS as applications.
If I set the home directory of www.mydomain.com to the root of my web space
I can access both applications succesfully as www.domain.com/Live and
www.domain.com/Development. Both applications use the web.config files and
bin directories contained within their respective directories. Neither
require web.config or a bin directory in the root.
However, if I change the home directory of www.domain.com to point to the
"Live" directory of my web space, it stops working. I believe that even
though I set the home directory to the "Live" directory the server is
looking for web.config and the bin directory in the root of my web space.
Bizzarely I can have one domain's home directoy pointing at the root and one
pointing at the "Live" folder and the one pointing to the root will work and
the other won't.
Any thoughts would be most welcome
Thanks
Jim Tag: Can this be done with IIS or should I spin my own server? Tag: 343542
IIS & Windows Prompt?
I'm not that well versed in IIS, but we've run into a problem that I can't
seem to figure out.
We have a very simple site that was created in ColdFusion (I know...I
know...) that was working just fine...until...a co-worker tried to undo IIS
lockdown...as you all probably know...this caused many problems...but I
thought we had fixed them all until I noticed this page on a CF site was
being prompted by Windows for a login. It's really wierd...the only page
that gets the windows login prompt is login.cfm...none of the other .cfm
pages get the prompt. And the login.cfm page is a simple form with a
textbox...not much code at all. I tried renaming the file...no luck...tried
deleting the file and recreating it...no luck...and there are other pages
that have the same type of code (simple form) and that don't get the prompt.
So, I guess my question is...why would just one page of a particular site
cause the windows prompt? I checked the permissions and they look correct.
I know this has to do with something that happened when the co-worker tried
to undo IIS lockdown. Can anyone give any advice...I've been reading from
Google...and reading and reading...
Web Server Stats: 2000 server; SP4
IIS: 5.0
ColdFusion: MX
Any help is greatly appreciated!
-bruce duncan Tag: Can this be done with IIS or should I spin my own server? Tag: 343536
Newbie to IIS 6
I have just upgraded my W2K/IIS5.1 setup to W2K3/IIS6. Using host headers
for a couple of websites on one IP. No probs. All is well.
I have heard that IIS6 includes the "URL Scan" functionality that I was
using for my IIS5.1 setup. Where do I go to adjust the parameters?
Thanks,
-Frank Tag: Can this be done with IIS or should I spin my own server? Tag: 343533
Ways to improve performance of IIS application
I am using Win 2003 Enterprise Edition with SQL Server 2000 SP3.
An ASP web-based application with 200 users is being run on this server.
How can i watch on a regular basis to make sure the performance of the
web server for the 200 users is good and not slow.
What are the best practices, guidelines? Any books or online articles you
can share for me to read more about managing an IIS Server when running
a database application on it?
Are there Performance Monitor alerts i have to configure or i have to
manually
verify Task Manager on a regular basis and see if INETINFO.EXE, DLLHOST.EXE,
SQLSERVER.EXE are using too much resources and do IISRESET, SQL Server
services
restart, etc...?
Can someone share their thoughts, experience, suggestions and/or
recommendations on this
subject of performance monitoring and improving?
Thank you very much Tag: Can this be done with IIS or should I spin my own server? Tag: 343532
Connection to local host refused after fresh install.
Hi
IIS has stopped working on my Windows XP pro system. I initially received
an Error 13: when trying to connect to local sites.
I uninstalled IIS and then reinstalled hoping the problem would be fixed. I
don't get that error now but when attempting to connect to a local site I
get the following message.
The connection was refused when attempting to contact 127.0.0.1
The only complication I have on my system is that Apache is also installed.
However it is configured to start manually and is not started on boot up.
Apache is working fine when manually started.
Could there be a conflict with Apache? The 2 web servers resided on this
system together well for the past 10 months.
I'd really appreciate any suggestions about when could be my problem.
Thanks
David Tag: Can this be done with IIS or should I spin my own server? Tag: 343529
problem with XP service pack 2.0
Hi!
I have an application in which I am giving an option like internet
browser in one of a module, where a user can enter a URL and browse any
site, and the entered url will be stored in database, when next time user
logs in the application my browser will load the same URL when he logged
off, if a user entered about:blank or any url which contains " : " hyphen
browser is not responding. Its happening only on XP service pack 2.0. pls
find the attachment of my source file.
Thanks in Advance,
Mohammed Tag: Can this be done with IIS or should I spin my own server? Tag: 343515
IIS snap-in falied to Initialize
HI All
After exuecution of any long script the sql server is not releasing System
Cache memory which it used for processing of script. Bez of this system
becomming slow, i am stopping and restarting sql server every time.
After modfying the settings as per one of the KB articles reg MMC also it is
not working
can any one suggest hwo to release System Cache memory, Here i am not using
any front end tool. Just trying in sql analyzer.
Thanks Tag: Can this be done with IIS or should I spin my own server? Tag: 343511
could not download .dat file from web server
Hi all,
I setup a web server with IIS6.0(SBS2003), and put .dat file in the virtual
directory, but users can see this file from web browser but cannot download
it. Would you please tell me how to let them download the .dat file?
Kind regards
Michael Tang Tag: Can this be done with IIS or should I spin my own server? Tag: 343505
Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
Using latest SP Win2k and .NET versions, I have a .NET application running
on server1 with a SQL Server database running on server2. I have the
Windows user account passwords sync'd for server1\aspnet (installed by .NET
Framework and server2\aspnet (created by me--this machine has no .NET
Framework on it). The aspnet user on the database server (server2) has
access to the database.
I still get: Login failed for user '(null)'. Reason: Not associated with a
trusted SQL Server connection.
IIS is set to Windows Integrated Authentication...although same result with
Anonymous, with and without IIS controlling password that I enter.
-----------------------------------
Here's my connection string:
Me.SqlConnection1.ConnectionString = "workstation id=""CIL-094"";packet
size=4096;integrated security=SSPI;data source=""myserver"";persist security
info=False;initial catalog=mydb;"
-----------------------------------
Here's my web.config:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<compilation defaultLanguage="vb" debug="true" />
<customErrors mode="Off" >
<error statusCode="404" redirect="~/errors/missingPage.aspx" />
</customErrors>
<authentication mode="Windows" />
<authorization>
<allow users="*" /> </authorization>
<trace enabled="true" requestLimit="10" pageOutput="true"
traceMode="SortByTime" localOnly="true"/>
<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;"
cookieless="false"
timeout="20"
/>
<globalization requestEncoding="utf-8" responseEncoding="utf-8" />
</system.web>
</configuration>
--
_____
DC G Tag: Can this be done with IIS or should I spin my own server? Tag: 343499
Urgent -Problem with IIS 6 Performance
Hi
The server is a co-located Xeon 3.0ghz. I am running win2003 with IIS6 and
PHP 4.38. When I run a page with an embedded PHP script that generates
simple output, it runs quickly when accessed via IE6 locally on the server,
or at the co-location facility. When accessed from an outside site, it runs
extremely slowly, and then times out. The final html page is about 4kB.
<?
function getmicrotime(){
list($usec, $sec) = explode(" ",microtime());
return (substr($sec,7,3) . substr($usec,1,4) );
}
?>
<head>
</head>
<body>
<?
for ($i=1;$i<=10;$i++) {
for ($j=1;$j<=250;$j++) {
print "$j";
}
$time_start=getmicrotime();
print "<br> $i $time_start<br>& ";
}
?>
</body>
when the output page page is preformatted (php is not dynamically generating
it) it does respond very quickly. i think it is something in the byte by
byte generation and transmission of the page.
My guess is something in the TCP/IP configuration is wrong, but I don't have
a clue what.
This problem is very urgent. I'd appreciate any insights.
Howard Tag: Can this be done with IIS or should I spin my own server? Tag: 343487
Can't Install FrontPage 2002 Extension on new website
I have installed the frontpage 2002 extensions on my
windows 2000
server, but when I create a new site the only option I
have under all
taks when I right click it is permissions wizard.
When I look at the sharepoint website I can choose
Permissions Wizard,
Configure Extensions or Configure Extensions 2002.
Can someone please tell me why I am not getting that
option for andy
new site I create.
Thanks Tag: Can this be done with IIS or should I spin my own server? Tag: 343484
Splitting Dynamic IP to two URL/Domains
I have a No-IP Dynamic IP Address (too cheap to buy Static) and want to still
have two web-sites running on two separate servers. Because I can't assign
external Static IP Addresses to the two servers, does anybody know of a
technology that can sniff what URL was originally typed in and using that,
forward to the correct NIC?
Don't think MS has this technology, but could be wrong.
Thx Tag: Can this be done with IIS or should I spin my own server? Tag: 343480
ADSI Alternate Credentials Not Working...
I have a set of web pages on an AD-authenticated web site that are
supposed to allow users to modify their own AD account attributes,
limited of course to things like their email address, URL, etc. I was
hoping to connect to LDAP using secure authentication as described on
a few tech web pages, and the connection works fine but when it's time
to commit the changes with .SetInfo, the script fails with:
Active Directory error '80070005'
General access denied error
This is a terrible stumbling block for me. Is there a way to get this
working, or is there another way of doing this altogether?
Any help greatly appreciated!!!
Thanks,
Brad
Here's a code snippet...
Const ADS_PROPERTY_CLEAR = 1
Const ADS_PROPERTY_UPDATE = 2
Const ADS_SECURE_AUTHENTICATION = 1
user = Request("user") ' display name from POST data
newemail = Trim(Request("mail")) ' new email address from POST data
strUserDN =
"cn=Administrator,cn=Users,dc=network,dc=rectaltronics,dc=com"
strPassword = "IdontThinkSo"
Set objRoot = GetObject("LDAP:")
Set objDomain = _
objRoot.OpenDSObject("LDAP://dc=network,dc=rectaltronics,dc=com", _
strUserDN, strPassword, ADS_SECURE_AUTHENTICATION)
' so far, so good.
ADSPath = "LDAP://cn=" & user &
",ou=Family,dc=network,dc=rectaltronics,dc=com"
Set objUser = GetObject(ADSPath)
currentemail = objUser.Get("mail")
' still OK here, but I could do the .Get under user's creds too.
SetAttrib "mail",newemail
objUser.SetInfo
' above line is where it bombs! Tag: Can this be done with IIS or should I spin my own server? Tag: 343479
redirecting of ports on IIS?
Hi everybody,
I have a website that is running on my Win2k box and it is using port
80. But I put another website under a different port 8080. When I go
to the port 80 site it works fine but when I go to port 8080 I get
again the website that is on port 80. Is there an auto forward feature
or something else?
Regards
Nick Tag: Can this be done with IIS or should I spin my own server? Tag: 343478
Make a new Frontpage Web in IIS5
Can some one tell me why my sbs 2003 iis5 server only has
an option to Configure Frontpage 2002 Extensions on some
of my sites and not others?
I know the extensions are installed because the
sharepoint website gives me the option to configure the
fp extensions, but any new
website I create I don't get that option.
I've created a new web and need it to be a frontpage web
but the option to configure it isn't there!
Any help is appreciated.
Thanks Tag: Can this be done with IIS or should I spin my own server? Tag: 343476
Secure Site for Active Directory Group
I'm new at this.
We want to make a website on our iis5 server that's accessable only to our
users in one win2k active directory group. We don't want them to have to
log on. Is this possible?
I removed anonymous access from the directory, but when I try to access a
file in the directory with my browser, a login dialog pops up and I have to
log in again. Tag: Can this be done with IIS or should I spin my own server? Tag: 343472
IIS on lan
hello,
I was wondering is there was a way to allow my server to
be accessed from a public ip of the internet host comp.
My setup is i have a gateway computer that hosts the
internet, then all the other computers get the internet
from that (i know this is not the best way, but it is
only tempory). the servers ip is 192.168.0.124. this is a
private ip. so is there any way in wich i can set it up
to alow connection to the iis through the ip of the host
computer,
Many Thanks
Tom Ballard Tag: Can this be done with IIS or should I spin my own server? Tag: 343470
cannot add default document iis 6
I have a 2003 server running iis6. Whenever I try and set the default
document for a site (different than the four that are automatically
setup when you create the site), such as index.shtml, IIS does not
server the default document.
I have checked the default document settings many times - the correct
filename is there, its at the top of the list, I have enabled SSI, the
actual file is in the root of the web directory.
Its very odd - for instance: I have a site setting up thats default
document is index.asp. IIS does not serve that page (always get
Directory listing denied). I checked the site settings and index.asp
is at the top of the list and the checkbox to enable default documents
is checked. BUT, if I save the index.asp file as default.asp (one of
the documents that is in default document list by default when you
create a new site), IIS serves the default document no problem.
I am using host headers to make the most out of my IP's - could it be
related to that?
Any and all help is appreciated,
Mike Tag: Can this be done with IIS or should I spin my own server? Tag: 343467
Can not acccess local website with Windows Auth
I'm running XP SP2 and applied 817293.
I can use IE to connect to IIS on the same using Windows Auth (NT, not kerb)
machine with:
o http://localhost
o http://<NetBIOS name>
but not:
o http://127.0.0.1
o http://<FQDN>
o http://<alternate A record FQDN>
I even added to the hosts file
127.0.0.1 <FQDN>
with no luck.
It's strange. Even the logfiles will show combos of 127.0.0.1 and my actual
IP address with and without NT Auth -- so it's not Route problem per se.
Access from a second machine is OK. Tried RunAs with a Win2K Kerb accound,
same problem.
2004-08-31 19:26:58 127.0.0.1 () GET / 401 4369 HTTP
2004-08-31 19:28:44 127.0.0.1 () GET / 401 4767 HTTP
2004-08-31 19:28:44 127.0.0.1 USAAT1\a0824967 GET /De
2004-08-31 19:28:44 127.0.0.1 USAAT1\a0824967 GET /pa
2004-08-31 19:28:44 127.0.0.1 USAAT1\a0824967 GET /MS
2004-08-31 19:28:44 127.0.0.1 USAAT1\a0824967 GET /mc
2004-08-31 19:29:40 127.0.0.1 () GET / 401 4767 HTTP
2004-08-31 19:30:13 157.87.0.97 () GET / 401 4767 HT
2004-08-31 19:30:13 157.87.0.97 USAAT1\a0824967 GET /
2004-08-31 19:30:13 157.87.0.97 USAAT1\a0824967 GET /
2004-08-31 19:30:13 157.87.0.97 () GET /MSLinux.jpg
2004-08-31 19:30:13 157.87.0.97 USAAT1\a0824967 GET /
2004-08-31 19:30:13 157.87.0.97 USAAT1\a0824967 GET /
2004-08-31 19:33:47 157.87.0.97 () GET / 401 4767 HT
2004-08-31 19:33:47 157.87.0.97 () GET / 401 4369 HT
2004-08-31 19:33:54 157.87.0.97 () GET / 401 4767 HT
2004-08-31 19:33:54 157.87.0.97 () GET / 401 4369 HT
2004-08-31 19:35:01 157.87.0.97 () GET / 401 4767 HT
2004-08-31 19:35:01 157.87.0.97 () GET / 401 4369 HT
2004-08-31 19:35:15 127.0.0.1 () GET / 401 4767 HTTP
KB 303650 does not seem to make a difference IE shows site as Local Intranet.
XP SP2 Firewall on/off; service started/stopped makes no difference. Tag: Can this be done with IIS or should I spin my own server? Tag: 343464
IIS 6.0 - enabling CGI extensions on a per-web basis?
I have a professor who uses CGI, and I've added the four exe's on his web
site to the list of allowed extensions.
Will I need to do this every time he uploads a differently named exe, or is
there a way I can enable his "bin" directory to automatically allow the new
exe's he uploads?
TIA! Tag: Can this be done with IIS or should I spin my own server? Tag: 343459
Need urgent help with asp.net perfromance...
Hi,
I have a dedicated server running Win 2003, IIS 6, and ASP.net 1.1
I have 8 ip addresses and under the Default Web Site I created a
virtual directory called "test" so I can test my app. This uses "All
Assigned IPs"
My app is asp.net (C#) and uses MS Access db (JET).
Here is the problem:
When trying to go to the site using a browser:
www.mysite.com/test/index.aspx
It takes 20 seconds to load the page! This is unacceptable!
Running the same site on a "SHARED" host (less powerfull) it take 6
seconds to load.
Logging into my dedicated server and viewing performance as I load the
page from