4
votes
Accepted
How to make get_current_user() return the same user as $_SERVER['AUTH_USER']?
PHP fixed a fifteen year old bug. You should update your script.
It should not return the logged in user. It should return the owner of the script file.
From php.net/get_current_user
get_current_user(...
- 5,783
3
votes
Accepted
IIS: Multi level subdomain with wildcard not resolving
This is how wildcard certificates work. *.example.com work only for hosts like: host1.example.com, host2.example.com, etc.
If you want to have it work for abc.in.example.com you need to use ...
- 4,292
2
votes
How do I resolve the "Snapin Error" when setting up SMTP on IIS Server?
We found that doing the following worked, and can now edit the settings in the II6 Manager without errors (and without crashing when applying settings) every time:
Stop SMTPSVC service [Display Name: ...
- 21
2
votes
IIS Digest repeatedly asking for authentication
The question is 11 years old, but still not solved.
The actual problem is wrong MD5-sess implementation in Chrome and Firefox.
The only correct implementation can be found in (already abandoned) IE.
...
- 21
2
votes
Accepted
Cant set correct .Net version in IIS Server Pool
There really have been (*) only two .NET releases: 2.0 and 4.0.
3.0 and 3.5 are just additions to 2.0.
4.5, 4.7, 4.8 are just additions to 4.0.
And yes, the IIS UI is even more confusing.
Anyway, 4.x ...
- 69.5k
2
votes
Accepted
Set IIS 10 server to public
Microsoft IIS does not have a concept of localhost vs. public.
In your screenshot you show IIS Manager running on a machine EC2AMAZ-NN0LTIR the term localhost next to it, just means that this IIS ...
- 13.9k
2
votes
Accepted
is it possible to use .cer file to server website without private key?
Windows wants the private key and the certificate combined into a single PKCS#12 file. You can create one with a command like this:
openssl pkcs12 -export -out filename.p12 -inkey filename.key -in ...
- 164
2
votes
IIS reverse proxy redirection rule
Not sure if I'm understanding you right, but you can try this as the web.config for the site you've created in IIS. I'm assuming you have a site in IIS created that you're trying to make redirect to ...
- 21
2
votes
Accepted
Allow access to FileZilla SFTP server through FTP subdomain and no other domains
SSH / SFTP does not have concept of virtual hosts in the way http / https protocols have.
Therefore the answer is no. You need to have a separate IP address to limit access.
- 36.1k
2
votes
Why are MIME types needed if we can identify file types by their extensions?
There's a massive "safety gap" between what a user needs to know to use a system, and what is needed to use it safely.
As it is, the whole .ext and MIME thing is an exploitable mess; no ...
- 21
2
votes
Accepted
How to use AD CS to auto-renew certs for securing IIS websites that use SNI?
You can't expect the CA to permit IIS to enrol for a certificate for all your SNI sites and the CA doesn't know that you own those names. If the CA issues certificates for any Subject the client ...
- 4,294
2
votes
Accepted
IIS Management Service IP and Port Bindings - How to Reset
The setting itself is stored in Windows registry,
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WebManagement\Server\IPAddress (REG_SZ)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WebManagement\Server\Port (...
- 1,121
1
vote
How to migrate Azure server including IIS sites with the same name, different DNS
IIS supports multiple host headers, so you can just add your new name to the sites on your old server alongside the existing one. The host headers in IIS have no impact on DNS and the DNS entry for ...
- 38.5k
1
vote
Accepted
Stop and Start IIS Website remotely using WMSVC
WMSVC was solely developed for IIS Manager remote management. Remote PowerShell management isn't going through WMSVC. Thus, "The end goal though is we want to be able to connect to the site ...
- 1,121
1
vote
Accepted
enquiry on performance boost/hit for centralized source code location
Is there any benefit to doing this?
Yes. 1 POF is better than 10
or is it only going to make the website slow?
Maybe slower than with local storage
I, personally, prefer to avoid Windows-shares in ...
- 3,137
1
vote
Temporary / Intermittent "Access Denied" error on IISReset
This issue is explored and documented over here:
https://www.leansentry.com/guide/reset-restart-recycle-iis/dangers-of-iisreset#it-can-leave-your-server-in-a-stopped-state
The article offers that the ...
- 140
1
vote
Accepted
"IIS Manager Permissions" icon missing from Windows Server 2019 IIS
IIS Manager Permissions is only visible if you enabled Management Service role service,
https://docs.microsoft.com/en-us/iis/manage/remote-administration/configuring-remote-administration-and-feature-...
- 1,121
1
vote
IIS 7 how does http.sys know which request is for which application?
I think ever since HTT 1.1 the URL requested is sent IN THE HEADER. So, Http.sys just looks at the request. Note that every application must be unique in the URL to a degree - and that is what HTTP....
- 51.4k
1
vote
Exporting certificates on Microsoft IIS 2019 ver 10
You can of course export this certificate from the mmc certificates.
Run CertLM.msc to open your local computers certificates and locate it by opening the Certificate Store it mentions in the list in ...
- 734
1
vote
Accepted
How to forward traffic from HaProxy to an IIS FTP server?
FTP is a crappy protocol that requires two connections:
For passive FTP that is initially one connection, the control connection. That connection is made by the client, typically to the default port, ...
- 1,177
1
vote
Accepted
can IIS smtp role in windows server 2016 send mails direct to internet without exchange server or smart host?
Anything that speaks proper SMTP “can” send email to the Internet. However, there’s a certain amount of knowledge you need to be reasonably sure that anyone actually receives the email you send.
The ...
- 4,991
1
vote
Accepted
Why would my WordPress website be so slow?
It looks like in the end for me, the thing that made the biggest impact and made my site load like 10x faster was moving to a XAMPP installation. The following are some changes that were made in my ...
- 795
1
vote
My IIS URL Rewrite rule is not working for my IIS website
Try this - set a DNS entry for both "url domains" to point to localhost, or a hosts file entry. 127.0.0.1 astro.res... and next line same with astronomyteams.org . then find out why we had ...
1
vote
Can't open IIS manager
Tried the solutions above this is the only thing that worked. Task manager > Expand IIS manager > Maximize
- 113
1
vote
Missing "Server Certificates" icon in IIS10
Server Certificate is missing if you connect to another machine remotely.
That's by design. To manage certificates remotely, you need to use Remote Desktop Connection or other approaches (like ...
- 1,121
1
vote
virtualizing physical IIS box into Hyper-V breaks API, Server 2012 R2
StarWind V2V Converter is your best friend!
https://www.starwindsoftware.com/starwind-v2v-converter
- 12.7k
1
vote
How can I get the list of app pool using appcmd.exe
You can also do in powershell via Get-IISAppPool in the IISAdministration Module like this:
Import-Module IISAdministration
Get-IISAppPool
- 488
1
vote
Browser Downloading ASP App Instead of Displaying
For us it was a binding issue. If you open IIS and right click the website and look at binding properties it will list all the names and how it will treat the files.
There were two entries we needed ...
- 111
1
vote
Accepted
How to completely disable request filtering in IIS
You ask how to disable request filtering entirely (for a site, I assume), and there's a way to do that which I'll offer in a moment.
But first, were you aware that you could at least try to raise the ...
- 220
1
vote
Using FTP on IIS in passive mode both for internal and external network
Root Cause Analysis
For external clients, their control and data channels all go through the public IP address you configured. That's why usually they work with basic configuration.
However, for ...
- 1,121
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
iis × 5282iis-7 × 577
windows × 567
asp.net × 478
windows-server-2008 × 387
ssl × 377
iis-7.5 × 375
iis-6 × 279
windows-server-2003 × 233
php × 232
rewrite × 226
ssl-certificate × 195
web-server × 187
windows-server-2008-r2 × 169
domain-name-system × 163
ftp × 158
windows-server-2012-r2 × 154
iis-8.5 × 141
windows-server-2012 × 140
security × 134
iis-8 × 129
authentication × 127
sql-server × 125
reverse-proxy × 124
redirect × 119