back soft

مطالب مرتبط با «server» در back soft | نویسنده: استخدام کار

Use a docker image for a whole server

Vote count: 0 I bought a VPS server for some of my projects.I'm wondering if it would make sense to run a single docker image on this server and do all the server configuration, projects config, virtual hosts, etc... on the docker image. My goal is to avoid having to redo all the configuration work if I change of server. Is Docker suited for this ?Should I instead build one docker image per project (but then I will have to have multiple Apache instances I guess)?Will it really save time if I change of server ? asked 42 secs agoSimon Watiau Let's block ads! بخوانید...

ادامه مطلب

Writing in a file in the server with HttpURLConnection

Vote count: 0 Community, I have this problem. I'm trying to write a content in a file in the server with HttpURLCoection, but it gives me error. This is the code: protected void onPostExecute(String result) { try { url = new URL("http://tmtsite.altervista.org/Agata/in.txt"); HttpURLCoection client = (HttpURLCoection) url.openCoection(); client.coect(); String datiPost = URLEncoder.encode("datanascita", "UTF-8") + "=" + URLEncoder.encode("CIAO MONDO!!!", "UTF-8"); client.setDoOutput(true); client.setChunkedStreamingMode(0); OutputStreamWriter wr = new OutputStreamWriter(client.getOutputStream()); wr.write(datiPost); wr.flush(); wr.close(); } catch (MalformedURLException e) { e.printStackTrace...

ادامه مطلب

Can Zimbra-8.6 LDAP be used as a regular LDAP server for authentication

Vote count: 0 I need to be able to authenticate for a PHP-based service using an exteal server ruing Zimbra 8.6. I have been trying to figure out a way to do that, and it seems the general approach is to use SoAP based queries. I am not conversant with SoAP, I know that LDAP is a normal service and I may be able to directly bind to the port and authenticate like with any other LDAP service using php-ldap on client. Though I was able to find PHP wrappers for the same, they provide more capabilities and for reasons of security, I do not wish to enable them, instead using the LDAP service directly as only authentication is required. (This also makes a few things easy from firewall point of view...

ادامه مطلب

C++ server to serve local web files (html/css/javascript) using http

Vote count: 0 I'm writing a C++ desktop application with An embedded webview to show the UI written in html/css/js. A C++ backend to handle all logic and core operations. In order to show the web UI in the embedded webview without problems, I need to server those files from a local directory that will be part of the application. So I need to embed an http server as part of the application as well. So I'm looking to do something like this: web_view.ShowUrl("localhost:8080"); And this should automatically open index.html in /path/to/my/ui/directory/ that the embedded http server is set up to serve. Then it should be able to handle any includes of other scripts, html/css files, resource files l...

ادامه مطلب

EntityFramework migration update changes on the Server

Vote count: 0 I have a Working Software and developing to it. I am using EntityFramework CodeFirst. I Have many edit in model of database. In local i use update -Force but What should I do in Server? Thanks in advance. asked 24 secs agoSaeid Mirzaei Let's block ads! بخوانید...

ادامه مطلب

Connecting to SQL Server through Active Directory user in Azure Virtual Machine

Vote count: 0 I am a beginer in Azure and i have been trying to accomplish below scenario task:I have created two Virtual Machine say vm1 and vm2. Virtual Machine(vm1) where I have have installed ADDS(Active Directory Domain Service): Window server 2012 R2 Domain Name: Say: TestDomain , ip:10.0.0.79user : testuser@TestDomain.onmicrosoft.comIn Virtual Machine(vm2), i have installed Ms-SQL server 2015 is ruing and have database on it. Then I have added the Domain name and configure DNS on vm2 with respect to vm1(use same domain name:TestDomain and ip:10.0.0.79) In vm2, from MS-SQL, login with windows authenticaton mode,then Security >> Logins: Right click new user then Search(user: testuser@Te...

ادامه مطلب

webserver not starting in opscenter

Vote count: 0 I have a compiled-to-rpm opscenter package that dumps the files to /opt/mypckage everything is okay when I execute /opt/mypackage/opscenter/bin/opscenter -f it will tu up the opscenter web which includes http.log on the log directory I have created a start-script which is tested from tarball #!/bin/sh echo "exec 'sudo /etc/init.d/opscenterd start'" exec sudo /etc/init.d/opscenterd start wierd thing is- yes it will start the opscenter service using the script above but the url is not ruing using port 8888 and no http.log generated. is there any way I can tweak this on? asked 1 min agoApps Tester Let's block ads! بخوانید...

ادامه مطلب

creating an http server on windows 10 home edition

Vote count: 0 I am trying to run an http server using java and i cant seem to make the server reachable from outside of my network. I have already tried everything, port forwarding, disabling the fire wall, port opening in the router and nothing seems to be working. I have windows 10 home edition. Is there any possibility that windows 10 does not support this option, and i can not create a server like that on my laptop? asked 34 secs agoDany Lavrov Let's block ads! بخوانید...

ادامه مطلب

How to call Parse locally in web page when hosting Parse server?

Vote count: 0 I built a reactjs app using express that's hosted on heroku. I'm also using Parse and hosting it on the same app on heroku. I was wondering if there's a way to locally call Parse, instead of specifying the Parse SERVER URL (which is basically at the same place as my app). Can I set the SERVER URL to an absolute path instead? asked 2 mins agosobremesa Let's block ads! بخوانید...

ادامه مطلب

AuthenticateAsServerAsync hangs

Vote count: 0 I'm using await stream.AuthenticateAsServerAsync(serverCert, true, SslProtocols.Tls, false); In my application to secure a coection. Unfortunately in rare cases (roughly one out of 1000) this hangs completely. I tried to set timeouts on the lower level NetworkStream and the TcpClient. But nothing works, those coections keep accumulating over time. And by it hangs completely I mean it gets stuck inside there for days (if the application runs that long). I currently solved this with a dirty hack. Im starting a new thread, wait 5seconds inside it, and if the call didnt retu in time I call tcpClient.Close() to force the SslStream to abort. Whats the issue here? What is the intended...

ادامه مطلب

How to set a property observer on system variable

Vote count: 0 I have the following variable: private var screenWidth = UIScreen.mainScreen().bounds.width I was wondering how I could set a property observer on it? Or get the latest version of it when it updates? asked 1 min agoRoymunson Let's block ads! بخوانید...

ادامه مطلب

C Transmitting file, concept for Server/Client loop

Vote count: 0 Send: do { filep = ftell(file); if(filesize...

ادامه مطلب

Django is "Killed" on runserver/migrate/makemigrations version 1.9, ubuntu

Vote count: 0 Each time I run "python3 manage.py runserver" I get the message "Killed." I get the same message when I try to makemigrations or migrate. I created a separate new Django project and was able to have it work just fine. I am unsure what the issue is. Here is what the var/log/ke.log said, " Out of memory: Kill process 15419 (python3) score 770 or sacrifice child Killed process 15419 (python3) total-vm:932232kB, anon-rss:805032kB, file-rss:160kB" I am not sure what I need to change in my Python files to keep it from crashing. I am not ruing anything immediately either, like from the urls.py file calling a python script. Thank you asked 1 min agoChad Crowe Let's block ads! بخوانید...

ادامه مطلب

ASP.Net interface with SQL Server Back end (preferably use C#)

Vote count: -4 Please go through the following description & prepare ASP.Net interface with SQL Server Back end (preferably use C#). Create an application to Add / Delete/ Modify Employee’s details using a web application. 1. Create New Database in SQL server. a. Database Name: Create new database with the name as “Test_Database” b. Server Name: c. Useame: d. Password: Table Layout: Sr No Field Name Data Type / Size 1 Employee ID(Pkey) Integer 2 Employee Name NvarChar(100) 3 Email NvarChar(50) 4 Address NvarChar(250) 5 Phone Number NvarChar(50) asked 3 mins agoshubham Let's block ads! بخوانید...

ادامه مطلب

SQL Server - contains an invalid XML identifier as required by FOR XML;

Vote count: 0 I'm ruing this query and getting below mentioned error. Can anyone help? Column name 'Middle' contains an invalid XML identifier as required by FOR XML; ' '(0x0020) is the first character at fault. SELECT Useame as [LastName], '' AS [Middle], '' AS Birthdate, '' AS [SSN], 0 AS [Wage Amount] FROM Employee FOR XML PATH edited 17 secs agoJeroen Mostert asked 1 min agoLokesh Let's block ads! بخوانید...

ادامه مطلب

htaccess rewrite rule not working at all on server though i am sure that mod_rewrite is on

Vote count: 0 okay so i am new to this htaccess thing, can you please help me out in the below, i have 1 question divided into 4, 1- cleaner urls i am trying to have my urls look like cleaner using the below but its not working i don't know if i should add anything else, this is how it looks now example.com/product.php?product_id=144&product_name=50ml-bottle-with-glasses,-shirt this is how i want them to look example.com/product/144/50ml-bottle-with-glasses,-shirt basically here's what i used RewriteEngine On RewriteRule ^product/([0-9]+)/([A-Za-z0-9-]+)/?$ product.php?product_id=$1&product_name=$2 [NC,L] # Handle product requests 2- change in url request if my url were changed and now looks...

ادامه مطلب

Not able to connect to server through java code. Getting javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

Vote count: 0 I am trying to build a Test Automation Tool for REST API on AWS using rest-assured framework. I just tried with a simple HTTP POST and checking the output JSON body. But when I run that in Eclipse I get SSLHandshakeException. I did try to look into the issue and found it could be something related to server certificate (Received fatal alert: handshake_failure through SSLHandshakeException) but when I test it through POSTMAN it is ruing fine and gives desired output. Also if I hit the URI through the browser does gets the response from the server(Error message). I am novice to SSL programming and will like to know what could be the root cause behind it and how I can fix that and...

ادامه مطلب

Could not execute system() command in Ruby Controller when I put my code live on server

Vote count: 0 Urgent help would be great! I have a ruby controller method: def wayback $newvar = "wayback_machine_downloader http://example.com" system($newvar) end Now, above controller method runs like a charm locally i.e in localhost:3000 but when I put my code live in server then system($newvar) command does not work. I am using digitalocean server. I have searched a lot on inteet but could not find anything helpful. asked 1 min agoWaleed Ramzan Let's block ads! بخوانید...

ادامه مطلب

Can't start OrientDB Server

Vote count: 0 I installed OrientDB 2.2.0 on my server but can't start it ruing server.sh script. Previous version started fine on the server and the current version is ruing on my notebook. The server is a droplet from Digital Ocean with Ubuntu 15.10 32-bit. The error I get is below. Invalid maximum direct memory size: -XX:MaxDirectMemorySize=512g The specified size exceeds the maximum representable size. Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. Thanks, Paulo asked 4 mins agoPaulo zOiO zuLLu Fabrício Let's block ads! بخوانید...

ادامه مطلب

sql server 2012 connection using Uid and Pwd defaulting to Windows Auth

Vote count: 0 I have an Excel workbook that will query a SQL Server 2012 database using VBA. Many users will temporarily use this workbook so I created a generic ID with SQL Server credentials only. Some of the users can execute the VBA and retrieve data without a problem. When other users try, the VBA ignores the provided coection string using the generic user and password and provides their windows credentials. Why are they sending their windows credentials instead of the credentials provided in the coection string? How do I force the coection to use the provided Uid and Pwd? The error message isCoection Failed:SQL State '28000'SQL Server Error 18456...Login failed for user 'DomainUserid' ...

ادامه مطلب