Steps
1) Locate to the following location
/app/oracle/middleware/user_projects/domains/ohs_domain/config/fmwconfig/components/OHS/instances/ohs1/cgi-bin/
Update the permisison to 775 for printenv
2) Type which perl, Copy the path and update that in printenv.
[oracle@oracle cgi-bin]$ cat printenv
#!/usr/bin/perl
##
## printenv -- demo CGI program which just prints its environment
##
print "Content-type: text/plain\n\n";
foreach $var (sort(keys(%ENV))) {
$val = $ENV{$var};
$val =~ s|\n|\\n|g;
$val =~ s|"|\\"|g;
print "${var}=\"${val}\"\n";
}

3) Type printenv and very its working

3) Now try accessing protected url
http://oracle.demo.com:7777/protected/protected.html it will redirect to oam login page, provide the login details, once we get the protected page.

4) Now try accessing below url in anpther tab
http://oracle.demo.com:7777/cgi-bin/printenv
Thanks,
Arihant Baid
1) Locate to the following location
/app/oracle/middleware/user_projects/domains/ohs_domain/config/fmwconfig/components/OHS/instances/ohs1/cgi-bin/
Update the permisison to 775 for printenv
2) Type which perl, Copy the path and update that in printenv.
[oracle@oracle cgi-bin]$ cat printenv
#!/usr/bin/perl
##
## printenv -- demo CGI program which just prints its environment
##
print "Content-type: text/plain\n\n";
foreach $var (sort(keys(%ENV))) {
$val = $ENV{$var};
$val =~ s|\n|\\n|g;
$val =~ s|"|\\"|g;
print "${var}=\"${val}\"\n";
}

3) Type printenv and very its working

3) Now try accessing protected url
http://oracle.demo.com:7777/protected/protected.html it will redirect to oam login page, provide the login details, once we get the protected page.

4) Now try accessing below url in anpther tab
http://oracle.demo.com:7777/cgi-bin/printenv
Arihant Baid
IEEE Cloud computing DOamin is a general term for anything that involves delivering hosted services over the Internet. IEEE Projects on Cloud Computing The cloud is a metaphor for a global network of remote servers which operates as a single ecosystem, commonly associated with the Internet. IEEE FInal Year Project Domains Final Year Projects for CSE cloud computing is the delivery of computing services—including servers, storage, databases, networking, software, analytics, and intelligence
ReplyDeleteJavaScript Training in Chennai
JavaScript Training in Chennai
Hello There. I found your blog using msn. This is a really well written article. I will make sure to bookmark it and come back to read more of your useful information. Thanks for the post. I will definitely return.
ReplyDeleteCar Removal Brisbane
Cash for Cars Ipswich
Hello There. I found your blog using msn. This is a really well written article. I will make sure to bookmark it and come back to read more of your useful information. Thanks for the post. I will definitely return.
ReplyDeletecash for cars sunshine coast
cash for scrap cars sunshine coast
The post is wonderful and informative as well. Loved it
ReplyDeleteCash For Scrap Cars Brisbane is the best place to cash in Brisbane for several reasons. One of which is because we offer great deals to every single one of our clients regardless of the make and model of their cars.
Local car buyer, a platform where you can get top cash for all types of vehicles. We are buying cars for cash from Brisbane, Gold coast, Canberra, Perth, Melbourne etc. We ensure quick car selling with free removal at the comfort of your home.
ReplyDeletecash for car jondaryan
Local car buyer, a platform where you can get top cash for all types of vehicles. We are buying cars for cash from Brisbane, Gold coast, Canberra, Perth, Melbourne etc. We ensure quick car selling with free removal at the comfort of your home.
ReplyDeletecash for car churchill
cash for car redbank-plains
If you have an old car, it’s probably a drag on your life and your finances. There are so many problems with older cars that it quickly becomes inefficient to try to keep them running, and sooner or later, you find it taking up space as it sits unused in your driveway. In that case, you should consider scrapping the car. Most cars that are scrapped are stripped of the high-quality parts, and then the metal is all recycled. There are plenty of benefits to scrapping your car, on top of simply not having to repair the car anymore!
ReplyDelete