Ubuntu Servers :: Apache Document Root External Hard Drive

Apr 28, 2010

I am trying to use my external hard drive to store webpages and on the webpages it is uploaded to the folder. When i navigate to the address it says it is forbidden. I also noticed that it would not let me upload files to the folder it says i do not have permission. Can someone help me get passed the barriers. The hard drive is ntfs.

View 7 Replies


ADVERTISEMENT

Ubuntu :: Can't Unmount External Hard Drive Without Root Not Being Detected By GParted

May 26, 2011

I have Seagate Freeagent Go 500GB external hard drive that I use for backup. I wanted to resize the partition so I used GParted to shrink the 500GB NTFS partition to 400GB. The other 100 I wanted to encrypt and use for some other more important files. For some reason, the shrink failed and I disconnected the hard drive and reconnected it. I didn't see the icon appear on the desktop. I went into the Disk Utility to discover that GParted's shrink error deleted all of the partitions on my hard drive. So I created a new 400GB NTFS partition and put back all of my files. The other 100 is unallocated currently.

It will normally mount automatically and show up on the desktop but the hard drive won't mount without me going into the Disk Utility and mounting it through there. I can't even mount it from the Terminal with root privileges. It gives me this:

Quote:

sudo mount /media/My Data
mount: can't find /media/My Data in /etc/fstab or /etc/mtab

Now, I can unmount with root privileges and I can unmount it from the Disk Utility. I can browse and edit the files within. But I can't unmount it from within Nautilus or on the desktop (the Safely Remove Drive option is not there).

The new 400GB partition also isn't detected by GParted. It just shows the whole drive as unallocated.

View 2 Replies View Related

Software :: Ubuntu Installed On External Hard Drive, Can't Startup Without External Hard Drive?

Jan 14, 2009

I have 2 ubuntu's: 1 on my ineternal hard drive, 1 on my external

When I startup without my ext drive =>GRUB error 21.

And when I plug it in I can choose: the standard ubuntu kernel is the one on my external, and the original one is listed under other...

I'd like to be able to startup without external hard drive and make the ubuntu on my internal drve the standard.

View 14 Replies View Related

Ubuntu Servers :: Mounting External Usb Hard Drive?

Jun 19, 2011

I have attached a 1.5 TB external hard drive to my new Ubuntu server. I mount it in /media/external. I used sudo mount /dev/sdx# /media/external but sdx# keeps changing. I added a line to fstab to mount it permanently but after couple of our it unmounts itself and /media/external is empty. It is in vfat format but webmin shows it as ntfs.

Quote:
cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).

[Code]...

View 9 Replies View Related

General :: Apache Can't See Document Root

Feb 9, 2011

I have set up apache on Centos 5.5 and am struggling with vhosts set up.With the config I have set apache will correctly serve sites with a document root of

/var/www/html/home/myuser/public_html
but not /home/myuser/projects > ls -al
shows public_html and projects as having identical permissions (755)

View 11 Replies View Related

Ubuntu :: 403 Error After Changing Apache Document Root

Sep 19, 2010

I've had apache installed for a couple of years with no problem but this morning I thought I would change the apache document root to my secondary disk so that my WAMP setup in my Windows partition and LAMP could share the same files. I've edited the etc/apache2/sites-available file to point it to the new location of my document root but I am getting a 403 - forbidden "You don't have permission to access / on this server." error when I try to load files through the browser. I'm not sure if this is a permissions issue or the way I've edited the sites-available config.

Here is the new sites available config:
Code:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /media/Data/webroot
<Directory />
Options FollowSymLinks
AllowOverride None .....

View 5 Replies View Related

General :: Apache Won't Redirect To New Document Root

Jun 20, 2011

I've set my document root directory in httpd.conf to the directory I want to serve files out of, and set Options to Indexes FollowSymLinks; I've saved the configuration file and restarted apache, yet when I direct my browser to the domain name that's seated there, I can't get at my index.html which exists there. It serves index.html when it exists in the natural document root.

View 8 Replies View Related

Server :: Execute CGI On Apache Document Root

Mar 18, 2010

how can I run CGI scripts that are without extensions under the document root?i can not use ScriptAlias on the document root, i can run .pl scripts but i cant run any script without extension...ofcourse all files are executable on the fs.

View 8 Replies View Related

Software :: Apache Document Root Conflict

May 21, 2009

I have a VPS (Mosso Cloud Server) that is administered and monitored by Platinum Server Mgmt. I have CentOS 5 and Apache 2.2 installed.I requested that my Document Root be set to /var/www/JPDemole.com/ and also a subdomain setup to /var/www/test.JPDemole.com/

They responded by telling me that it would, "[This would] cause a problem with the permissions and that it will be a permissions conflict if you set them to /var/www/. For security and compatibility purposes, they should be in /home/username/.... It can be put anywhere in there."

This is the first time I've been involved with any server administration, but while coding on numerous private vps's before, they had a setup similar to what I was requesting.Am I incorrect in my understanding of the previous situations and the Mgmt company is in fact correct?

View 5 Replies View Related

General :: Apache Virtual Host Document Root ?

Sep 9, 2009

I'm now configuring my web server to server different Virtual Hosts based on DNS name. Right now I store my files in /var/www per the default installation settings in Apache.

Questions:
I want to change the Document Root to /home/username/public_html/example1.dyndns.org for the second virtual server. What do the permissions need to be in order for Apache to read the files in this location? Would it be best to force Apache to run as this new username instead of www-data?

My Virtual host setup will look something like this

I want to change the DocumentRoot as I am running a chrooted ProFTPd server and want to be able to update webserver files via FTP. I am running Ubuntu 8.04 LTS Server (CLI only).

View 5 Replies View Related

Server :: Change Document Root Apache Fedora?

Mar 19, 2010

I want to change the DocumentRoot on my Apache httpd server.

I have Changed it from the default to var/www/projects

but its not working.

[CODE]
### Section 1: Global Environment
#
# The directives in this section affect the overall operation of Apache,
# such as the number of concurrent requests it can handle or where it
# can find its configuration files.

[Code].....

View 178 Replies View Related

General :: Upgrade Internal 2.5" Hard Drive Vs External Usb Hard Drive For An Old Laptop?

Jan 25, 2010

I got a dell inspiron 1501 laptop with a 80Gb sata drive what is the best solution to add data storage space for someone that love to have multiples operating systems at hand Note: I use mostly linux so I won't need to change my laptop for many years maybe ...

View 2 Replies View Related

Software :: Apache - Make Aliases To Folders Outside Of Main Document Root - Access Forbidden

Jun 9, 2009

I am on mac os x and whenever I make aliases in my apache config file to point to folders outside of main web document root folder, I get access forbidden. I have chmod -R 777 the whole destination directory (to test it) and still no go. Access forbidden. I have also tried pointing directly to [URL].

View 1 Replies View Related

Ubuntu :: Use External Hard Drive For Virtual Box Hard Drive?

Jun 3, 2011

I have a laptop with only 30GB storage and I want to install Lubuntu in virtual box but Lubuntu needs 5GB of storage space which i dont have. Could i use an external 160GB hard drive to act as the hard drive for the virtual machine without affecting the files that are already on the external hard drive

View 6 Replies View Related

Ubuntu Servers :: Changing Document Root On Apache2?

Mar 14, 2010

how can I change the document root from /var/www to another folder? I cannot find anything in the apache2.conf or httpd.conf.

View 2 Replies View Related

Fedora Servers :: Document Root Must Be A Directory

Jul 30, 2009

I am trying to get apache to start at boot in Fedora 10 but I am getting "Document root must be a directory", I tried to change the Selinux settings with:
chcon -R -h -t httpd_sys_content_t /www

I checked the new settings with ls -aZ and the changes apear to be fine.
apache apache unconfined_u:object_r:httpd_sys_content_t:s0
But I still get the same message on my boot.log file.

View 9 Replies View Related

Ubuntu :: External Hard Disk /Hard Drive Mounts As Read Only (Suddenly)?

Jan 17, 2011

I recently bought 320 GB Trancend external hard disk and working fine days back.Earlier i could copy from and to the hard disk with out any issue. I dont know what happened after that now i am not able to write any files in to the external hard disk. This is not NTFS formatted device. here is some of the out put from terminal.

Code:
sundar@sundar-sundar:~$ fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes

[code]...

View 7 Replies View Related

Ubuntu Installation :: Installing 11.04 On External Hard Drive Drive?

Jun 19, 2011

I would like to install Linux Ubuntu 11.04 on an external hard drive - its partitioned and ready for Linux.I've downloaded and burnt the .iso file to a DVD so its all good so far...First of all... is this possible without messing up my macbook? I don't particularly want to break into my macbook to disconnect the hard drive (I read on a tutorial for a previous version of Ubuntu that I'd have to do that... - does it still apply to 11.04?) - as it voids the warranty (I checked ).The reason I ask this is because I had a friend who partitioned their internal hard drive and installed Ubuntu on it. But after installation was complete they couldn't boot up Windows 7 or Ubuntu... and it resulted in them having to clean install Windows 7... - I don't want to end up in that situation

Second... If it is possible to install it without messing up my macbook... - Do I just follow the install instructions but just make sure that where possible I make sure that everything is installed on my external hard drive?...I really need someone to put my mind at rest that everything will run smoothly and that I'll be able to run Mac OS X as usual but also that I'll be able to boot from my external hard drive to run Ubuntu.

View 2 Replies View Related

Fedora Hardware :: When Safely Remove Drive Menu Is Clicked On External Hard Drive

May 30, 2011

I have 350GB external Western Digital USB hard Drive.When I try to remove it from the system by executing Safely Remove Drive menu the fedora 15 system gets stuck.The processor starts giving a hum sound and it goes on even if it is left for half an hour in the stuck state.The Mouse is not working and everything is halted.

View 13 Replies View Related

Red Hat / Fedora :: Move Hard Drive Installation To External Drive?

Mar 30, 2011

i have installed fedora 14 with so many libraries ,development tools installed on my pc but i usually have to present some projects which can run on my system .........and can't be executed or compiled due to absence of libraries and tools there so, i there some way to so that i can use this current installation on my hard drive of my pc to some external media like external hard disk and plug and use that installation anywhere on any system..

View 2 Replies View Related

CentOS 5 :: External Usb Hard Driver Mounts Root?

Sep 22, 2010

I have created a 2nd user account on my system and when that user accesses the external hard drive it's permissions are root.

@one ~]$ ls /media -l
total 13 dr-xr-xr-x 1 root root 8192 Sep 19 11:49 External Drive 1TB

View 4 Replies View Related

Ubuntu Servers :: Apache Redirect For Connection Coming Via External IP?

May 14, 2010

On my Server I have an application running. I have the External IP address of the Server registered in DNS so users requiring access from outside the office can enter a full URL rather then an IP address.

How to I change my Apache config so that all traffic that comes into the server from the URL is put over https?

View 6 Replies View Related

Ubuntu Servers :: Apache Server Not Accesible From External Computers

Dec 8, 2010

A week ago I purchased an VPS. The first few days I was having trouble to set up an outgoing connection on the VPS. Eventually it turned out to be some misconfiguration of the server where the VPS is hosted on.Since then I have installed the apache server, but I'm still not able to access the apache server from an external computer. I already have contacted the provider, but they haven't replied yet. To speed things up I was hoping someone could check my configuration to be sure nothing is wrong with it.To be sure I posted all configuration and information that I think would be important. Please contact me if you need more information.

View 2 Replies View Related

Ubuntu :: External Hard Drive Partitions?

Jan 3, 2010

So I recently got a WD MyPassport external hdd with 500gb capacity. I formatted it to NTFS so that it would be more efficient transferring data between my Ubuntu and Win7 dual boot. But now I want know if it is possible for me to create a 100gb FAT32 partition on the external without destroying the data on it.

View 7 Replies View Related

Ubuntu :: External Hard Drive Not Detected On 9.10?

Jan 4, 2010

My Toshiba 500Gb USB hard drive is not being detected anymore when i insert it in 9.10. It only started doing this from last week, it was fine before (and it works fine in Windows XP). The connections are fine and all, because when i type "lsusb", i see it as follows:

Bus 001 Device 003: ID 19d2:0063 ONDA Communication S.p.A.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 0930:0b09 Toshiba Corp.

[code]...

View 9 Replies View Related

Ubuntu :: Possible To Use For Malfunctioned External Hard Drive?

Jan 5, 2010

Is it possible to use Ubuntu for a malfunctioned external hard drive?A year ago my external hard drive malfunctioned and I cant get into it, though it plugs in alright and the computer recognizes it, I'm hoping that maybe precious files havent been wiped and are just stuck in there.Is there anyway that Ubuntu can help?Also, if there is, what exactly is the first thing I do or type into the terminal?

View 1 Replies View Related

Ubuntu :: Mounting An External USB Hard Drive?

Jan 16, 2010

I'm trying to get ubuntu 9.04 to recognize a Maxtor One Touch III USB external hard drive. This drive has been formatted and used on a Windows XP. I cleared everything off but am trying to see if I can arrange it so that I can back up from linux and access (if need be) from a Windows machine.

Here is what I get with fdisk -l:

/dev/sda1 * 1 14219 114214086 83 Linux
/dev/sda2 14220 14593 3004155 5 Extended
/dev/sda5 14220 14593 3004123+ 82 Linux swap / Solaris

View 6 Replies View Related

Ubuntu :: How To Mount Iso On External Hard Drive?

Jan 18, 2010

I am having problems mounting an iso on my external hard drive. I do not want to move it onto my linux partition because it is 3.6 GB. I have a directory made (/media/iso) that I would like to mount it in, but if that doesn't work then I don't care where it goes. After I mount it I want to be able to run it using Wine, but that will come later. For now I just need to get it mounted. And, of course, I am fairly new to linux/ubuntu.

View 2 Replies View Related

Ubuntu :: After Formatting External Hard Drive?

Feb 1, 2010

I have a 250GB external hard drive that I want to format to ext4. It will be used to store back ups of my documents, music and pictures. I tried booting the Ubuntu 9.10 Live CD (amd64) and using gparted to delete the partitions that where on the hard drive leaving only unallocated space, then creating one new partition that was ext4. I clicked apply and after a short time it said all operations completed successfully.

Now the problem is it won't let me transfer any documents onto the hard drive, or even create a folder or file. If I go into the properties of the hard drive, under the permissions tab it says I am not the owner...?

View 7 Replies View Related

Ubuntu :: Installing To WD External Hard Drive?

Feb 2, 2010

I just bought WD External Hard drive for my laptop and found out that there is no support for Linux. I am running Ubuntu 9.10 and need advice on installation.

View 9 Replies View Related







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