I am trying to link images to constant contact - linux

I am trying to link images to constant contact from my linux server. The images are stored in a folder on my linux server as I have done previous on my windows server. The path I use from the windows server works fine but the path on the linux server does not.
I added the folders to the root of the drive and dropped the jpg's in the folder. So this is what works on the Windows Server http://www.mydomainname.com/folder/folder/image_name.jpg. This doesn't work on the linux server. Any help out there is very much appreciated.

Related

Python/Pycharm on a nas server

I recently upgraded my mac-mini with external hard drives to a proper NAS server (DS920+).
With the mac-mini I installed Pycharm and was able to code/develop a few projects on it. Now with the NAS server, I can't find a tutorial on how to install pycharm. It seems that everything has to be done in command-line. Isn't there a way to have a proper IDE? or do I need to create a virtual machine with windows for instance and there I would install pycharm (?) My goal is not to develop code on the nas but rather on my local PC (mostly scripts for data fetching/automation) and have a nice user interface on the nas (and not the command line window)
Furthermore I have developped a web server based on dash/plotly. Ideally I would like to have the webserver deployed on the nas. So I have a collection of .py files and a main.py which lauches the web server. I would need to use "docker" in order to deploy my code onto the nas right?

Transferring files to IIS (attempted using PHPStorm & Finder)

I have a working local copy of a simple website I would like to deploy to an IIS (Internet Information Server) running on my local network. Running on my computer on MAMP, everything works perfectly. However, after I try to upload all the files to the web server and load the index.html it fails to GET many different files necessary to load the page. Here is an example error line in the console:
GET http://WEBSITE.com/scripts/bootstrap-wizard-custom.js 403 (Forbidden)
Here the methods I have tried to upload files to the live server:
Using CMD+K in Finder, connecting to the live server with an address like smb://webserver, and then simply dragging files from my local folder to the wwwroot folder.
Using PHPStorm (on Windows), selecting the mapped network folder as my workspace, and then "Deploying" all the files to the server by clicking an "Upload to [webserver]" button.
What is the best way to go about transferring these files from my local machine to a web server on the same network?
It turns out it was a permissions problem. After some permission changing, it now works. Fixed!

How do i get a direct download link for my file on Linux VPS

I have recently just got a subscription to a Linux VPS (Ubuntu)
I have logged into the VPS using FileZilla and uploaded my .png file to the VPS. But when i travel to the ip address in my web browser then i am unable to navigate to the directory for the file. I have apache2 running on the web server so when i navigate to the VPS using my browser it says this
It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.
Can someone please teach me on how to upload my .png file correctly so i can have a download link something similar to
http://myipaddress.com/home/files/mypicture.png
Would highly appreciate any knowledge applicable to my problem. If someone helps me solve the problem then i will happily tip them some cryptocurrency :)
You must put your public files in the directory published by the web server: the "DocumentRoot".
By example, it may be:
/var/www
The published files must also be readable by the Web Server process.
The Apache server on Debian runs with the "www-data" user/group, by default.

file creation in linux

I have created an application in which the android mobile takes picture and uploads it to a server. The server accepts the image, stores in local directory and updates the path to the database. Everything works fine on my localhost (Windows) but when i deploy the war file it is not creating the file. The problem is my localhost is on windows but the main server(ISP) is on Linux. Both my localhost and main server (ISP) are using glassfish. On the main server (ISP) I am logging through admin and then deploying the war file.
This might be your problem.
Where do you store your file in the server. In windows you might be giving the path as
D://images/dir1/......
In linux this path is not valid. It should look something like
/home/tomcat/images/repo/...........
Please post the code where you mention the location of the directory in which you store the images.

Can I use Dreamweaver CS5 on Windows to manage local Linux files?

I'm running Dreamweaver CS5 on Windows 7. Currently, I set up sites in Dreamweaver so that the local site folder is a folder on a Windows server down the hall.
A new project will run on a Linux server (also just down the hall) and I'm being told by the Sys Admin to save my files (php, js, css, etc) on the Windows server and FTP them to the Linux server.
I realize Dreamweaver won't run on Linux. Can anyone tell me how to use Dreamweaver on Windows to read/write files from/to a local Linux server? If it's just a matter of typing in the path in Dreamweaver Site Setup, then what is the syntax (e.g., the analog to "\server\directory\subdirectory")?
Many thanks!
James
You would need to talk the sys admin into setting up samba access for you. Witha samba set up you could mount your samba share as a drive and use that as the site folder. Although I am not sure you would want all the extra files Dreamweaver brings to the table on your webserver.
I see two possible solutions:
Use dreamwaver's "Sites" feature to FTP the files over, if FTP was set-up on the Linux server.
Get the admins to set-up Samba on Linux, you would be able to use it just like a windows share as in \server\share ...

Resources