how to access cgi script using HTTPS

2005-04-15 Thread Chandrasekhar Reddy Sure



hi...

Iwant to access a cgi script located on my
machine using HTTPS...
i am able to access the same using HTTP...i am
using Apache server for this...(2.0.53)
how can i do this...

regards
chandrasekhar



*Disclaimer:The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of MBT and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s).   In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender.  The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of MBT.This e-mail message including attachment/(s), if any, is believed to be free of any virus.  However, it is the responsibility of the recipient to ensure that it is virus free and MBT is not responsible for any loss or damage arising in any way from its use*___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Re: Globbing

2005-04-15 Thread Roger Keane
andrew Black wrote:
Roger Keane wrote:
IMO: prefer File::Find with a regex instead of globbing if you just
want to get the files from a directory tree.

I think you are right here. But there are 2 (at least) different 
circumstances
 - want to write a filter that takes one or more file  (maybe STDIN)
and produce an output.  while () is ideal for this especially on 
operating systems that do the globbing for you (Unix, VMS)
Right.  But the Win32::AutoGlob (or you can roll your own that checks if
you are using a non-globbing shell) takes care of this scenario nicely.
After you reset @ARGV,  will work just like it does on globbing systems.
 - want to do something to each file (e.g. *.html) find could be better.
Can you tell find how many directories deep to scan (e.g. if you want a 
tool that has a -r[ecursive] option.
Usually it is enough to have a -norecursive option, which can easily be
accomplished with the prune flag.  Also be careful to give the user a
way to cancel in the case that her glob will cause filesystem data to be
changed or go away.
If you are familiar with the *nix find command, you might take a look at
find2perl which is included in the Perl distros.
Regexps are a bit unexpected from user standpoint.  *.html is clearer 
than .*\.html
Of course ...unless your first language is Perl ;-)
regards,
rgr
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Help with XML::Simple

2005-04-15 Thread James
Hi All,

I am trying to process a XML file and print some info
but my script is not printing anything.
Please help

Here is my code

 use XML::Simple;
 use Data::Dumper;
 my $tempxml = C:/temp/bom.xml;

my $bom = XMLin($tempxml);
my $itm =
$bom-{T_Stpo_Table}-{BOM_ITEM_API01}-{ITEM_NO};
my $comp =
$bom-{T_Stpo_Table}-{BOM_ITEM_API01}-{COMPONENT};
my $desc =
$bom-{T_Stpo_Table}-{BOM_ITEM_API01}-{KTEXT};

#print Dumper($bom);

print ---$itm--$comp--$desc--\n;
##
And here is my data file

   ?xml version=1.0 encoding=utf-8 ? 
- CLS_BOM_READ
xmlns:xsd=//www.w3.org/2001/XMLSchema
xmlns:xsi=//www.w3.org/2001/XMLSchema-instance
xmlns=/host/PIMservices/
  Fl_Warning xmlns=/host/SAPproxies / 
  alternative
xmlns=/host/SAPproxiesA/alternative 
  BOMUsage xmlns=/host/SAPproxies1=/BOMUsage 
  materialID
xmlns=/host/SAPproxies529936/materialID 
  plant xmlns=/host/SAPproxies / 
- T_Stko_Table xmlns=/host/SAPproxies
- STKO_API02
  BASE_QUAN xmlns=sap:rfc1.000/BASE_QUAN 
  BASE_UNIT xmlns=sap:rfcEA/BASE_UNIT 
  BOM_STATUS xmlns=sap:rfc01/BOM_STATUS 
  LABORATORY xmlns=sap:rfcA07/LABORATORY 
  BOM_NO xmlns=sap:rfcE2E2A6DA/BOM_NO 
  ALE_IND xmlns=sap:rfc0/ALE_IND 
  CHG_NO_TO xmlns=sap:rfcC299C78AEE5A/CHG_NO_TO 
  CHG_NO xmlns=sap:rfc / 
  /STKO_API02
  /T_Stko_Table
- T_Stpo_Table xmlns=/host/SAPproxies
- BOM_ITEM_API01
  ITEM_CATEG xmlns=sap:rfcL/ITEM_CATEG 
  ITEM_NO xmlns=sap:rfc0001/ITEM_NO 
  COMPONENT xmlns=sap:rfc527529-001/COMPONENT 
  COMP_QTY xmlns=sap:rfc1.000/COMP_QTY 
  COMP_UNIT xmlns=sap:rfcEA/COMP_UNIT 
  ITM_IDENT xmlns=sap:rfc0001/ITM_IDENT 
  CHANGE_NO xmlns=sap:rfcCOET43413/CHANGE_NO 
  BOM_NO xmlns=sap:rfc01857126/BOM_NO 
  ITEM_NODE xmlns=sap:rfc0001/ITEM_NODE 
  ITEM_COUNT xmlns=sap:rfc0002/ITEM_COUNT 
  KTEXT xmlns=sap:rfcCD SLEEVE:SE/KTEXT 
  MSTAE xmlns=sap:rfcC5/MSTAE 
  REVISION_LEVEL xmlns=sap:rfcA/REVISION_LEVEL 
  /BOM_ITEM_API01
- BOM_ITEM_API01
  ITEM_CATEG xmlns=sap:rfcL/ITEM_CATEG 
  ITEM_NO xmlns=sap:rfc0002/ITEM_NO 
  COMPONENT xmlns=sap:rfc421748-001/COMPONENT 
  COMP_QTY xmlns=sap:rfc1.000/COMP_QTY 
  COMP_UNIT xmlns=sap:rfcEA/COMP_UNIT 
  SORTSTRING xmlns=sap:rfcPRI/SORTSTRING 
  AI_GROUP xmlns=sap:rfc01/AI_GROUP 
  ITM_IDENT xmlns=sap:rfc0002/ITM_IDENT 
  CHANGE_NO xmlns=sap:rfcCOET43413/CHANGE_NO 
  BOM_NO xmlns=sap:rfc01857126/BOM_NO 
  ITEM_NODE xmlns=sap:rfc0002/ITEM_NODE 
  ITEM_COUNT xmlns=sap:rfc0004/ITEM_COUNT 
  KTEXT xmlns=sap:rfcCD: D GENERIC:/KTEXT 
  MSTAE xmlns=sap:rfcC5/MSTAE 
  REVISION_LEVEL xmlns=sap:rfcD/REVISION_LEVEL 
  /BOM_ITEM_API01
- BOM_ITEM_API01
  ITEM_CATEG xmlns=sap:rfcL/ITEM_CATEG 
  ITEM_NO xmlns=sap:rfc0002/ITEM_NO 
  COMPONENT xmlns=sap:rfcU19493-B00/COMPONENT 
  COMP_QTY xmlns=sap:rfc1.000/COMP_QTY 
  COMP_UNIT xmlns=sap:rfcEA/COMP_UNIT 
  SORTSTRING xmlns=sap:rfcALT/SORTSTRING 
  AI_GROUP xmlns=sap:rfc01/AI_GROUP 
  ITM_IDENT xmlns=sap:rfc0003/ITM_IDENT 
  CHANGE_NO xmlns=sap:rfcCOET43413/CHANGE_NO 
  BOM_NO xmlns=sap:rfc01857126/BOM_NO 
  ITEM_NODE xmlns=sap:rfc0003/ITEM_NODE 
  ITEM_COUNT xmlns=sap:rfc0006/ITEM_COUNT 
  KTEXT xmlns=sap:rfcCD-R: GENERIC/KTEXT 
  MSTAE xmlns=sap:rfcC5/MSTAE 
  REVISION_LEVEL xmlns=sap:rfcE/REVISION_LEVEL 
  /BOM_ITEM_API01
- BOM_ITEM_API01
  ITEM_CATEG xmlns=sap:rfcL/ITEM_CATEG 
  ITEM_NO xmlns=sap:rfc0003/ITEM_NO 
  COMPONENT xmlns=sap:rfcU33415-A00/COMPONENT 
  COMP_QTY xmlns=sap:rfc1.000/COMP_QTY 
  COMP_UNIT xmlns=sap:rfcEA/COMP_UNIT 
  ITM_IDENT xmlns=sap:rfc0004/ITM_IDENT 
  CHANGE_NO xmlns=sap:rfcCOET43413/CHANGE_NO 
  BOM_NO xmlns=sap:rfc01857126/BOM_NO 
  ITEM_NODE xmlns=sap:rfc0004/ITEM_NODE 
  ITEM_COUNT xmlns=sap:rfc0008/ITEM_COUNT 
  KTEXT xmlns=sap:rfcCD BACK PANEL/KTEXT 
  MSTAE xmlns=sap:rfcC5/MSTAE 
  REVISION_LEVEL xmlns=sap:rfcF/REVISION_LEVEL 
  /BOM_ITEM_API01
  /T_Stpo_Table
- SAPServicesReturn xmlns=/host/SAPproxies
  TYPES/TYPE 
  ID / 
  NUMBER / 
  MESSAGE / 
  ROW0/ROW 
  SYSTEM / 
  /SAPServicesReturn
  /CLS_BOM_READ
 



__ 
Do you Yahoo!? 
Plan great trips with Yahoo! Travel: Now over 17,000 guides!
http://travel.yahoo.com/p-travelguide
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Regex

2005-04-15 Thread Jim Hansen
I need to parse a string with a specific phrase within it.

For example:

"PSserverxx"

What is the best way to do this?

Thanks
		Do you Yahoo!? 
Plan great trips with Yahoo! Travel: Now over 17,000 guides!___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs