IIS 6 Parameterized Redirects - redirect

It looks like there's a way to, in IIS 6, do the following:
Redirect http://mydomain.com/old_page.asp?oldparam=111 to http://mydomain.com/new-page/111
But, I'm not sure how best to achieve this.
I'm reading up about using VBScript to access the MetaBase to set this up as shown on this page http://msdn.microsoft.com/en-us/library/ms525728%28v=vs.90%29.aspx, but so far I've had no luck. The documentation seems to assume and advanced user... I need something a little more novice.
(Also you seem to be able to use the Active Directory version or WMI version in VBS - I don't know either of them)
Any ideas?
Regards,
Jacques

Related

Setting SMBIOSAssetTag in a WMIObject via Powershell without a utility

I'm working with a Lenovo Thinkpad and I'm trying to set the asset tag in Powershell without using Lenovo's WinAIA.exe utility due to restrictions at work (wouldn't be able to access Windows. We would be running everything before we got into Windows Setup via Powershell), and I'm not sure how to go about this. Essentially, the property "SMBIOSAssetTag" (from the WMI class win32_SystemEnclosure) is ReadOnly, and I cannot get around this. I did triple check to make sure that Lenovo does not have its own namespace, and while using the Powershell Module "LenovoBIOS" I didn't see anything that could help me achieve this goal (unless I'm blind and totally missed it). Is there any way to go about this? I've also tried modifying the ReadOnly property of the SMBIOSAssetTag property, but I couldn't get that to work. I'd love any and all feedback. If there is any extra information needed, I'd be happy to help as well.
You don't. The property is defined as read-only in the MOF spec by design.
You're talking about writing to the SMBIOS information, which is an operation specific to your motherboard's OEM. It's up to your OEM to determine the data structure and storage method of the SMBIOS information, and the SMBIOS standard does not provide a standard write method the same way that there is a standard read method.

HTTP Error 404.19 - Not Found in IIS 8.5

I have a website, which runs perfectly in IIS 7.5. but the same site with same configuration is not working properly in IIS 8.5. i am passing an system string variable in URL and it shows me
HTTP Error 404.19 - Not Found error.
So i am not able to catch the exact issue. All things are same for both IIS except IIS version only. So i need your thoughts for the problem. So that I can also look into this. Unfortunately I am new in .net, so need basic answer(s). Thanks.
If I pass "&system=value1"in URL for IIS8.5 then it stops working, even this also didn't generate any log for this. So please help me for this.
I just Came to know that if i use "sys" word in Query String then its giving error. How to avoid this issue now?
This can be found in IIS under Request Filtering. Usually, you will see this under the Deny String section of a rule, possibly one meant to thwart SQL Injection attacks.

AsteriskNow cannot find ari.conf

I just installed AsteriskNow-6.12.65.14 and I want to try REST API. I've read a lot of tutorials, but I can't find ari.conf in the /etc/asterisk/ folder.
This is my first experience configuring Asterisk so I might just be missing something fundamental.
Asterisk 12
AsteriskNow-6.12.65.14
As far as i know asterisknow not offer experemental features like ARI.
You have create config files yourself if you need it.

Basic connection and fetching from active directory

I'm new to Perl and to Active Directory.
I need an example code of connecting into
an Active Directory server
(only address, there's no need to login),
and fetch all the details of a user by id.
I've searched the net and found script only
with the use of Net::ldap, but I am forced
to use Win32::Ole. Could someone please help
me to get it right at this way?
The best way is to use Net::Ldap. If you are not able to do so then the second best approach is to use some kind of Windows tool (like ldifde.exe/csvde.exe) and parse its output.
Basic usage: http://ss64.com/nt/csvde.html
More on ldifde: http://blogs.technet.com/b/lifeofapfe/archive/2009/02/19/using-ldifde-to-export-users-from-active-directory.aspx
Regards,

Call Progress Procedure in kSoap

I'm completely new with Progress. I'm trying to access my Progress Procedure (which works when I export it as an XML-page) in my Android app. I'm using kSoap to do the trick, because I've had some decent results of it.
But I can't seem to access my Progress Procedure in my Android project, can anyone help me to do this?
Thank you very much.
Hannelore, from your comment it looks like you're trying to access your .P via WebSpeed, which is not the same thing as WebServices (it's more of a normal web server).
The URL should look something like http://localhost:8080/wsa/wsa1 (depending on your config). You'll need to install the WSA (WebServicesAdapter from progress.com/esd if you don't have it already), and also something like Tomcat.
Lots more details in the OpenEdge doc (here); specifically look at the OpenEdge Development:Web Services book
-- peter