Ubuntu Servers :: Uploading Files To Apache?

Dec 23, 2010

I have set up a very basic apache server to host my own website (have not set up sql or database or php yet) and I am trying to find out how to fpt or copy my website. I am creating the site in windows and need to know how to transfer it to the server, preferably into the /var/www folder directly.

View 7 Replies


ADVERTISEMENT

Ubuntu Servers :: Uploading Files / Folders Through SSH?

Sep 1, 2011

I am done setting up an ubuntu server on Amazon Cloud Service.

I connect to it via SSH.

I would like to upload my website into the /var/www folder through SSH. I would like to upload a complete folder's worth.

View 5 Replies View Related

Ubuntu One :: Uploading Files/sync Files Doesn't Work

Aug 23, 2010

OS: ubuntu10.04 LTS running on latest oracle virtualbox. This works: I have opened a ubuntu one account. And I can log into that account. But I have to do so by: clicking 'ubuntu one' in top bar, and click 'account' in prompt that appears. Shouldn't log in take place automatically? Being logged in I'm able to make new folders. And appearently able to enter them (they are empty I quess) If I try to upload a file clicking 'upload file' in ubuntu one. A prompt appears and I choose the file to upload and click 'continue'. The prompt says "uploading" but nothing happens. If I choose a document folder and click 'mouse click right'. And then click 'sync with ubuntu one'. It prompts that it syncs the folders. But nothing happens.

View 2 Replies View Related

Ubuntu Servers :: Apache HTML Include Files?

Aug 26, 2010

I seem to be unable to use the html

Code:
include virtual="test.txt" I have tried following the advice in this thread http://ubuntuforums.org/showthread.php?t=1510098 but it makes no difference. The file is there, but the line is delivered to the browser as-is. Using Lucid and a new install of apache 2.2 from the repository.

View 7 Replies View Related

Ubuntu Servers :: Group Permission On Dir And Files For Apache

Mar 5, 2011

Me and 2 others are working on a website (Bob, Mike, and Joe). We made a group called developers and each of us are in the developers group. The Apache server runs as www-data. When we upload files, the file owner is the users name and the group is "developers".

/etc/group has the following

Code:
www-data:x:33:
bob:x:1000:
mike:x:1001:

[Code]....

I have always just set everything to 775 and just called it good. Well I don't want to wake up to a Russian political message plastered all over the site. It's time I do things properly.

View 3 Replies View Related

Ubuntu Servers :: Apache Ignores Index Files?

May 10, 2011

My apache ignores index files (index.php ,index.html ,index.htm , ...) and while these files exists in directory apache lists directory content!I mean http://localhost/test/ lists directory content instead of showing index.php!

View 9 Replies View Related

Ubuntu :: Uploading Music Files From MTP?

Nov 1, 2010

How does one transfer music from a MTP device to the Music folder? Or upload music from the MTP device to programs such as RhythmBox, Banshee, etc.? I have tried using Gnomad2 to no avail and I have exhausted my self searching the online Ubuntu community forums and doing searches on search engines regarding this subject reading through countless article of users trying to get Linux system to recognize or mount their MTP devices.

My system does recognize and mount my MTP device (Creative Zen Micro) and the Music Players (RhythmBox, Banshee, Amarok, VLC, XBMC) all access and play the music without any problems. I just want to transfer or copy the music from my MTP device to my system.

View 5 Replies View Related

Ubuntu Servers :: Apache - Change The Permissions For A Directory And All Files Inside

Dec 12, 2010

I would like to change the permissions for a directory and all files inside the directory how do I do this? The website is located only on my local network so I am not worried about security. Also what would be the optimal permissions for running wordpress.

View 1 Replies View Related

Ubuntu :: Can't Select Multiple Files For Uploading

Feb 13, 2010

I pushed the browse button and selected the first picture, but I was unable to select all of the pictures.
This happened again on an email attempt to do the same thing.

In the gnome environment, I am able to select the first then hold down shift, and select the last pic and all the ones in between will be selected. I expected this behavior when selecting for upload, but it didn't happen. I had to select each one, one at a time and upload each one.

I tried making a folder to upload the whole folder and that would not select at all.

View 8 Replies View Related

Ubuntu Servers :: Handle Webroot Permissions When Uploading?

Jul 29, 2011

I have been plagued by this for some time. How many times do you need to run chown -R user:www-data or similar to your webroot directory.I have been searching via Google and this forum. I have yet to find a definite answer to handle uploading and creating new files usable by apache2.Scenarios can vary. Some folks put there webroot inside a /home directory. Some users leave the default location as /var/www.I have a two part question.. Why do I often read "Apache runs as user=www-data, therefore files need to be readable by such (www-data)", but the default install in Ubuntu includes an index.html with the following?

Code:
ls -l /var/www
total 4

[code]....

View 2 Replies View Related

Ubuntu Servers :: Disable Apache 2 Ngnix Server Will Serve Files In / Var / Www Automatically

Sep 6, 2010

So if I disable apache 2 my ngnix server will serve the files in /var/www automatically.

View 1 Replies View Related

Ubuntu Servers :: Restrict Users From Uploading Certain File Types?

Apr 30, 2010

I have Ubuntu Server 9.10 running with vsftpd and I want to restrict users from uploading certain file types (.exe, .avi) ect.. Is this possible?

View 1 Replies View Related

Ubuntu One :: Connect Activity - Uploading Folders Instead Of Files?

Jan 30, 2010

Whenever I used to start up a window would open asking me for my password. No problem. One day I clicked cancel and it has never come up again, when i start up the ubuntu one logo switches to updating folders for a bit and then it switches to the default but with a little red x on it. I haven't been able to get it to connect. I can place files into the folder on my computer but they don't show in my ubuntu one account folder also. Also I heard, that soon we'd be able to upload folders instead of file by file is this true?

View 1 Replies View Related

Ubuntu :: Uploading Files Completely Freezes FIrefox

Jun 6, 2010

Firefox grays out and doesn't unfreeze until the entire upload is complete.I can't do anything else on the internet while this is happening.This didn't bother me until now, because I need to upload some pretty high quality pictures to Flickr, and it takes about fifteen or twenty minutes to do so.I'd like if the pictures could simply upload in the background while I do other stuff, instead of completely freezing my internet usage in the process.I don't have a problem downloading files quietly in the background not even large files so why can't I upload files without freezing everything up? Is this normal, or is there a fix for this?

View 5 Replies View Related

Fedora Servers :: F11 & Apache Permissions - Reading Files Out Of The Html Directory

Jun 12, 2009

With F11 installed Apache is having permissions issues reading files out of the html directory. Only wants to work with permissions set to read for other. [Thu Jun 11 23:25:28 2009] [error] [client 127.0.0.1] (13)Permission denied: file permissions deny server access: /var/www/html/index.html Tracked down the permissions issue. Is there a good reason not to change the group to apache and remove world read?

View 1 Replies View Related

Ubuntu Servers :: Apache2-svn Mime - Tell Apache To Treat Script Files As Plain-text?

Apr 5, 2010

I've got an apache-svn server up and running fine but I'm struggling with an irritating problem. I need the apache server to display .vbs, .cs., vb., .sh, .pl., .c, .h, .cpp, etc, etc files in the browser. Whenever our users click on a script they get a download dialog instead of the script being displayed in the browser as plain/text. I have added:

Code: AddType text/plain .vbs Into /etc/apache2/mods-enabled/mime.conf but it seems to be getting ignored. how I can tell apache to treat script files as plain-text?

View 1 Replies View Related

Software :: Multiple Files Uploading By Rsync?

Jun 16, 2010

I wrote script which should help me to upload multiple files. But I have problem. I want that files uploading executed parallel not Here is my code:

relVersion=1.1a
path="path"
pack="ls *.zip"

[code]...

View 3 Replies View Related

Ubuntu One :: Uploading Files / Folder Sync Doesn't Work?

Aug 29, 2010

OS: ubuntu 10.04 lts. Runing on latest oracle virtualbox vers.

This works:

Established ubuntu one. Able to log into ubuntu one. Able to make folders.

This doesn't work:

When uploading files, it prompts "uploading". But never finish. And files do not get uploaded. To sync a folder on desktop and ubuntu one never works.

View 2 Replies View Related

Fedora Servers :: Cannot Start Apache - No Read / Write Access To HTTP Files

Jan 14, 2009

I am trying to setup my webserver and I am trying to make a website to run under suexec but somehow I cannot start my apache it directly fails and SELinux is giving me errors and don't really know what to do with it, it is giving me some command to type but not sure if this will make my server less secure. The SELinux error is as follow:

Code:
Summary:
SELinux prevented httpd reading and writing access to http files.

Detailed Description:
SELinux prevented httpd reading and writing access to http files. Ordinarily httpd is allowed full access to all files labeled with http file context. This machine has a tightened security policy with the httpd_unified turned off, this requires explicit labeling of all files. If a file is a cgi script it needs to be labeled with httpd_TYPE_script_exec_t in order to be executed. If it is read-only content, it needs to be labeled httpd_TYPE_content_t, it is writable content. it needs to be labeled httpd_TYPE_script_rw_t or httpd_TYPE_script_ra_t. You can use the chcon command to change these contexts. Please refer to the man page "man httpd_selinux" or FAQ [URL] "TYPE" refers to one of "sys", "user" or "staff" or potentially other script types.

Allowing Access:
Changing the "httpd_unified" boolean to true will allow this access: "setsebool
-P httpd_unified=1"

Fix Command:
setsebool -P httpd_unified=1

I will write down how I did setup my server so maybe you can see a mistake I did. First I changed my Apache httpd.conf I added the following to it:
Code:
NameVirtualHost 192.168.1.2:80
<VirtualHost 192.168.1.2:80>
ServerName localhost
DocumentRoot /var/www/html
DirectoryIndex index.html index.html index.shtml index.php
</VirtualHost>

<VirtualHost 192.168.1.2:80>
SuexecUserGroup ulyaoth ulyaoth
ServerAdmin webmaster@ulyaoth.org
ServerName test.ulyaoth.org
DocumentRoot /var/www/ulyaoth/www/html
ErrorLog /var/www/ulyaoth/logs/error_log
CustomLog /var/www/ulyaoth/logs/access_log common
DirectoryIndex index.html index.htm index.shtml index.php
ScriptAlias /cgi-bin/ /var/www/ulyaoth/www/cgi-bin/
<Directory /var/www/ulyaoth/www/cgi-bin/>
AllowOverride none
Order allow,deny
Allow from all
Options +execCGI
AddHandler cgi-script .cgi .pl
</Directory>
</VirtualHost>

Then I created the username "ulyaoth" with the group "ulyaoth" as I specified with my suexec, then I created all the directories as specified in my httpd.conf and "chown ulyaoth:ulyaoth (dirname)" them to the right group and username.

View 10 Replies View Related

General :: Uploading Files To S3 Account From Command Prompt?

May 6, 2011

I've got several large files sitting in my linux hosted account that I need to upload to my S3 account. I dont want to download them first and then upload it into S3. Is there any way I can "upload" it via the linux command line environment? Or access it via a website working with lynx?

View 1 Replies View Related

General :: Uploading And Downloading Large Files Between Clients?

Jun 5, 2011

I am looking for a file sharing program to install on my dedicated server that will allow me to upload large MP3 files and allow my clients to download them. these files are recordings of counseling sessions for families who are seeking help for their children.

What I am looking for is similar to the system this company uses [URL].

View 4 Replies View Related

General :: Uploading Files To A CentOS-server With Vsftpd

Sep 16, 2010

I'm having difficulties with uploading files to a CentOS-server with vsftpd. I have the exact same configuration on a Fedora10 and there I have no problems...

[Code]...

View 2 Replies View Related

Ubuntu Servers :: Write A Shell Script In Order To Automate The Process Of Uploading A File?

May 21, 2010

I am trying to write a shell script in order to automate the process of uploading a file onto an FTP server using the built in FTP commands in ubuntu server (lucid). In order to connect I can use the following:

Code:

ftp wsbeorchids.org.uk
Name (wsbeorchids.org.uk:danielgroves): USERNAME
Password: PASSWORD

In need to pass my username and password in when prompted the prompts. How should I go about doing this? I have tried echoing the values without success. Please not that I am something of an amateur with scripting.

View 6 Replies View Related

OpenSUSE Network :: Uploading Files To Remote FTP Server Using Passive Mode With Enabled SuSeFirewall2

Feb 28, 2010

I've got problems uploading files to a remote FTP server using passive mode with enabled SuSeFirewall2 (Using 11.2)

I've disabled Firewall and everything went ok. Why firewall disables or terminates OUTGOING connections to a remote FTP?

View 7 Replies View Related

Ubuntu Servers :: Creating Virtual Apache Servers?

May 3, 2010

I have Webmin installed on an Ubuntu server. I currently have a successful apache server running on port 80, however I want to create a virtual host on port 81. When I try I go to servers->Apache Webserver-> Create Virtual Host I change the port to 81 and the document root to /var/port81www then I click create. How ever when I goto 192.168.1.5:81 (local ip, I know I have to port forward but its not even working local) it does not work.

View 5 Replies View Related

Ubuntu Servers :: Php 5 Won't Install Into Apache 2.2.15

Apr 23, 2010

I've run into a problem and I don't know if it's apache or php or the combination of both. I can compile apache 2.2.15 just fine, but whenever I try to compile php 5.3.2 into my server, the first two steps work just fine but when I get to the make install part it shows the libphp5.so and it just stays there and I have to cancel the install because it won't finish.

View 5 Replies View Related

Ubuntu Servers :: Apache Access Though VPN

Sep 1, 2010

just switched our company from windows server to linux and everything is going good except we have 4 vpn connections though out the country coming to our server. All giving the client machines ip addresses of 192.168.x.x based on where they are located 192.168.1.x for the main location 192.168.2.x for a second location etc, and IIS could see the clients ip instead of the wan ip and was setup to block all ips except 192.168.x.x ip's and this worked great.

So i set up apache the same way, to allow only 192.168 ip's but i guess it doesn't work that way in apache for connections coming though vpn? 2 out of our 4 VPN connections are not static IP's, so the 2 that are I just add that ip to the allow list and that worked.But i don't think we should HAVE to get static ips for the other 2, that's one of the benefits of using VPN, especially if our old windows server didnt need it.Is there any way for apache to see the clients ip address for access or is there something somewhere else that needs changed for this?

View 8 Replies View Related

Ubuntu Servers :: Apache Being Used As Proxy?

Oct 6, 2010

I've got some strange looking requests in my access_log which I don't much like the look of. Can someone take a look and let me know if 1) it's possible for other people to use my server as a proxy, and 2) how I can stop them.

Code:
85.190.0.3 - - [06/Oct/2010:14:32:55 +0100] "CONNECT 213.92.8.7:31204 HTTP/1.0" 200 1606
85.190.0.3 - - [06/Oct/2010:14:32:55 +0100] "CONNECT 213.92.8.7:31204 HTTP/1.0" 200 1606
85.190.0.3 - - [06/Oct/2010:14:32:55 +0100] "GET http://vlad-tepes.bofh.it/proxy.txt HTTP/1.0" 404 1955
85.190.0.3 - - [06/Oct/2010:14:32:55 +0100] "GET http://vlad-tepes.bofh.it/proxy.txt HTTP/1.0" 404 1955
85.190.0.3 - - [06/Oct/2010:14:32:55 +0100] "CONNECT 213.92.8.7:31204 HTTP/1.0" 200 1606

[Code]...

View 9 Replies View Related

Ubuntu Servers :: 8.04 - Upgrading Apache From 2.28 To 2.2.17

Nov 14, 2010

My Server is 8.04 (hardy) and Apache is 2.2.8. I have been receiving emails from Apache each time a new stable release is available, most of which say you should install them due to security issues. The current stable release of apache being offered is 2.2.17

Q1) Do you recommend I upgrade from Apache 2.2.8 to 2.2.17?
Q2) Does this come automatically with my regular updates via Update Manager once the Ubuntu community thinks its stable enough (it appears that it doesn't)?
Q3) What is the best way to install the update?
Q4) Any concerns about installing it into a live environment? I don't have a development platform to try it in first.

View 3 Replies View Related

Ubuntu Servers :: Setting Up Apache In 10.10?

Dec 7, 2010

When starting Apache I get this error in 10.10 (not in 9.10): [Fri Dec 03 21:14:22 2010] [error] (2)No such file or directory: could not open transfer log file /etc/apache2/${APACHE_LOG_DIR}/other_vhosts_access.log. Unable to open logs So where do I define APACHE_LOG_DIR ?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved