Connect Microsoft SharePoint to Linux server - linux

I am new to sharepoint and I created a web page in SharePoint. I want to make connectivity to this page with linux server. So that we can run some commnads from sharepoint (send that commnad to linux server and execute from there) and we can read from Linux server into SharePoint page.
Is it very complex? or can we write small script where we can pass the server name and userid/ password to connect Linux server. Any help will be highly appreciated.

There isn't much SharePoint specificity in this question, I think.
The button on your SharePoint page may perform one of the following client-side actions:
Add or set SRC attribute of an IFRAME on the page to display a resource from the Linux server to the user
Send an asynchronous AJAX request to a resource on the Linux server and process the result.
Depending on your needs, you could also implement some server-side communication with the Linux server, but that should be unnecessary in most scenarios.

Related

Is there anyway to transfer emails from a linux server into a windows server?

I work with a company where the previous website was designed in php and it was hosted in a linux server, now we have re-developed our website using .net framework for which we are planning to purchase a windows hosting.
Everything else seems alright except the email part, the company wants a backup of the emails in the new web server (windows server) too.
So is there any solution for it ?
Where are the emails stored? It should not make any difference what OS you use. Find the place where they are stored and try to port them to the new system.
Try searching the code for the email configuration and chances are high that you find the place.
Possible places where I would search first:
Source Code -> configuration / email sending
Database on the webserver
In the mailbox which is maybe used

SharePoint Designer: Error when connecting to my customer production server

Every time I try to connect to any SharePoint site running on my customer server I get the following error.
An error occurred accessing your Microsoft SharePoint Foundation site
files. Authors - if authoring against a Web server, please contact the
Webmaster for this server's Web site. WebMasters - please see the
server's application event log for more details.
I already checked the sharepoint options in CA and in every site in the mentioned server. Everything seens correct but the error persists.
It looks like there is no direct relation to SharePoint and something else in the server but I was not able to determine what could cause such behaviour.
Hope someone here has something to say.
Well... After a very long and painful headache we were able to find out what was causing this malfunction.
It was a .net agent from New Relic. This agent is used to analyse traffic, page load time and some other cool things. It basicly add some javascript to the head session of every response our IIS make and this code send some data to New Relic servers that will be processed to build some reports about the applications running in the IIS.
In the end, I just disabled it and SPD turned back to life.
Thanks.
PS: Boland was in the right path. I were able to find out the solution using Fiddler to analyse the responses from IIS. Thanks.
You have to check the event log. Do you see any error there? If not, it must be a network issue. Firewall is rare, because SPD works on TCP/80.

Native Mobile App Secure Bridge to Hosted Content

I would greatly appreciate some help with the following problem.
I am attempting to build an app with HTML/CSS/JQM that I plan to wrap with PhoneGap to package as a native app for deployment on Android & iOS Platforms.
The app will be basically a form for users to input information which upon submit will be posted to an email using PHP on our web server. It is of the utmost importance that the information is encrypted between the user device and our web server.
I have planned to do this by having a single terms & conditions page packaged with the native app, with the 'accept' button loading the 'form' page on the web server.
I would like to make it impossible to access the hosted 'form' page via a web browser (i.e. the only way to access the page is via the native app).
What I would like to do is to have the native app automatically log in to the web server, so that the user does not have to go through a registration process.
I have considered using Wordpress, Drupal or Joomla as a solution but as there will only ever be a single html page, jquery, jqm and php form submission scripts on the server - this seems overcomplicated.
It is very important that the hosted files are unable to be hacked as the user information being submitted is of a sensitive nature (e.g. financial information). Also the connection between the native app and the host server must be SSL.
Would a .htaccess / .htpasswd restriction be the best way to go about this?
Any advice would be greatly appreciated, thanks.

External RSS not working with sharepoint web part

Our application expose certain rss as
http://myservername/feeeds/feedid=110. This link works with with all browser and i am able to see rss.
But when i provide same URL to our sharepoint web part, it gives me error and not able to get headlines.
I would double check the security of the feed. If it requires any sort of authentication (windows, forms, etc.), it will fail in the normal SharePoint web part.
If your application is on the SharePoint server then you're probably running into the Loopback check, which prevents http access from the server to itself using an other name than the real servername.
If this is the case then you can see how to disable the loopback check in this kb

Linux / Silverlight question

I have a PHP script running via crontab on hourly basis under Linux.
This script is basically does some tests against database and returns results,
smth like: table_name, number_of_rows, number_of_duplicates.
Also, I have a Silverlight Dashboard for displaying various data and now I want to include results of the tests.
So, question is: how do I push data from Linux based PHP script to Silverlight client?
Thanks
As you are restricted to a Linux server, I assume you are serving the Silverlight app from an Apache site. Is that correct?
Silverlight can use its WebClient class to download any web content, so you could have a PHP page make your results available via HTTP (SOAP, XML, HTML etc).

Resources