Apache :: Hosting A Folder On Different Partition

Jan 13, 2013

I'm hosting most of my websites from my C drive where apache is installed.

However I want one website to be loaded from my D drive so I setup the following virtual host:

<Directory "D:hac2">
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>

<VirtualHost 46.249.47.12:80>
ServerName hac2.elitegameservers.net
DocumentRoot "D:hac2"
</VirtualHost>

But I keep getting 403 errors, anyway of fixing this?

View 6 Replies


ADVERTISEMENT

Securing Tmp Folder/partition

Oct 31, 2009

Should I secure my tmp folder/partition so nothing can be run/executed from it

Im running plesk 9 centos 5.3

How is this done

View 4 Replies View Related

Raid Disk Partition Errorc :: Warning: Invalid Flag 0x0000 Of Partition Table

Mar 16, 2008

I have a disk in raid, but it seems raid is not working correctly. I took it out, and plug into another server without raid. However, fdisk shows error

Quote:

#fdisk /dev/sdb
device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.

The number of cylinders for this disk is set to 20023.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)

2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help):

Should I correct the partition table now, or should I put it in another raid for checking?

View 2 Replies View Related

Resize Partition/create New Partition/lvm

Jul 4, 2008

i have centos 5 server i want install xen on it on my server is just one partion how may i resize this partion( without format partion/with put delete data) and then create lvm partion?

View 0 Replies View Related

Apache Set A Folder On A Different Port

May 16, 2008

How can I set a certain folder under my www folder to use a non standard port, 6767 instead of 80. I am running apache 2.

I tried putting the following in my httpd.conf with no luck, each time when I attemped to restart apache I got a fatal error:

<Directory "/var/www/html/crm">
Listen 6767
</Directory>

<Directory "/var/www/html/crm">
Port 6767
</Directory>

<Directory "/var/www/html/crm">
Bind 192.168.0.200 6767
</Directory>

View 3 Replies View Related

Apache :: 503 On HTTP And Folder Only

Oct 9, 2012

Suddenly on a particular website (possibly following an easyapache php minor version update) if I specify a folder rather than a specific file I get a 503 response.

If I do the same on https it's ok. But http always gets a 503.

If I specify a file it's fine, but the folder always hits a 503.

I have removed the htaccess file and php.ini to rule that out and indeed they weren't factors - it seems like it goes wrong before reading the htaccess file.

View 3 Replies View Related

Apache Configuration Set Timeout Per Folder

Aug 18, 2007

I want to set the Timeout value bigger for a specific folder.

View 5 Replies View Related

Hosting A Folder Somewhere Else

Feb 14, 2009

not subdomain but just a simple folder after my domain
I want to host it some where else
Is that possible or should I give up

View 5 Replies View Related

Apache :: HTAccess Redirect Root To Folder

Nov 28, 2006

I searched URL....but I still could not get this to work.I need a redirect to a certain folder when people visit the root directory of my site.

View 7 Replies View Related

Apache :: Virtual Host Not Using Its Web Root Doc Folder

Jul 29, 2014

I use Webmin (1.69) to work on my development environment. I am using Ubuntu Desktop 14.04 right now. I am not exactly an Ubuntu newbie but I would not call myself an expert either.

I created a virtual host (newdomain.local) with webmin. I filled in all the fields and saved the new VH definition. I added newdomain.local to my hosts file with an ip address of 127.0.0.1 and restarted apache.

When I go to [URL] ...., it is not taking me to the VH's home page but to the default home page.

Why this might be happening?

View 2 Replies View Related

Apache :: WebDav Folder Access Rights

Feb 9, 2015

I want to grant different access rights for certain folders to a large group of users of my apache WebDav server.There are access control lists for each folder on the server. Based on the rights in the access control lists the users should only have access to the folders listed in the ACL lists.In addition to that some users have only "read", some also "write" rights for the folders.How can I set up the described access rights on my WebDav server?

View 1 Replies View Related

Linux Apache Folder Not Reading Without Trailing Slash

Jan 4, 2007

I am running apache 2.0 on CentOS 4.4 with PHP5 and mysql 5. I am wondering why the following is happening with apache:

if I goto to [url]

This does not work, it times out. But if I goto:

[url]

With the trailing slash it works. That is annoying, anyway to take care of that so it works with or without the trailing slash? Below is my httpd.conf folder and virtual host settings:

---------------------------------------------------------------------------------------------------------------

<VirtualHost *>
ServerAdmin myemail@mydomain.com

DirectoryIndex index.php index.html index.htm index.shtml

<Directory "/var/www/html/">
Options ExecCGI FollowSymLinks Includes IncludesNOEXEC SymLinksIfOwnerMatch

AllowOverride none
</Directory>
</VirtualHost>

#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#

<Directory "/">
Options FollowSymLinks

AllowOverride None
</Directory>

<Directory "/var/www/html">
Options Indexes Includes FollowSymLinks

AllowOverride None
Allow from all

Order allow,deny
</Directory>

<Directory "/var/www/icons">
Options Indexes MultiViews

AllowOverride None
Allow from all

Order allow,deny
</Directory>

<Directory "/var/www/cgi-bin">
Options ExecCGI

AllowOverride None
Allow from all

Order allow,deny
</Directory>

View 13 Replies View Related

Apache :: How To Change Bulk File Permission From All Folder

Sep 14, 2013

Recently I moved my WordPress website to another server, After moving my site I see that my all files permission set to 664, for that I getting many error, now I want change all files permission 644, but problem is I have many subdomain with this site, is there any way to make change all files permission to 644 with SSH or any other way?

View 1 Replies View Related

/tmp Folder 777 ... Use As Sessions Folder... Secure

Aug 14, 2007

On my VPS I would like to set the /tmp folder to 777 and point to it with session.save_path.

The VPS will host a number of sites, but I will have sole control of them. ie. the account holders will not have access to cpanel.

If it makes any difference, the server is running phpSUexec.

What are the risks involved with this?

View 3 Replies View Related

No Resource :: Shared Hosting Apache And Physical Hosting

Jul 31, 2014

I'have a problem with my aps setup on sanbox.When i create on customer ccp when i click finish i have this error. I must only test.

Error: Instance of application with id 124 and version '1-4' can not be provided: There is no resource of class 'Shared hosting Apache' with provisioning attributes 'Web Cluster' in subscription with id 1.:There is no resource of class 'Physical hosting (IIS)' with provisioning attributes 'Web Cluster' in subscription with id 1..If i add the shared hosting apache resourse i get this error : There are no "apache" services that satisfy given attributes: "Web Cluster".

View 3 Replies View Related

LVM Partition

Jul 31, 2009

we can able create lVM partition but just we have 9 GB lvm partition i cant create more than or use full disk space

Code:
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 91201 732572001 8e Linux LVM

View 4 Replies View Related

New Partition

Jun 14, 2008

I have migrated one raptor disk to a 4 raptor raid 10 disks.

I was threated to being blocked from their helpdesk because they say it is a hardware issue.

I need help on 3 things:

- Is possible to just create a new partition on the not used drive ?

- Is this a software or hardware issue ?

- Can you recommend another support in case i am banned from the actual support ?

> root@server01 [~]# fdisk -l
>
>
>
> Disk /dev/sda: 299.9 GB, 299978719232 bytes
>
> 255 heads, 63 sectors/track, 36470 cylinders
>
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
>
>
> Device Boot Start End Blocks Id System
>
> /dev/sda1 * 1 13 104391 83 Linux
>
> /dev/sda2 14 268 2048287+ 82 Linux swap / Solaris
>
> /dev/sda3 269 395 1020127+ 83 Linux
>
> /dev/sda4 396 18235 143299800 85 Linux extended
>
> /dev/sda5 396 18235 143299768+ 83 Linux

View 3 Replies View Related

Create A Partition In A Vps

May 15, 2009

How can i create a /tmp partition (as cpanel recomends) in my openvz vps to install cpanel?

Quote:

/tmp 1 GB (1024 MB)
/ Grow to fill disk.

View 1 Replies View Related

Partition Of VPS Windows

Mar 29, 2009

I have VPS Windows. I want to resize partition C 50Gb become 20Gb and then create partition D 30Gb for data , I used softwares Partition Manager 8.5 Enterprise Server Edition, Acronis Disk Director Server 10.0.2169 but I can't.

I used command line :

sfc /scannow

to check HDD on this VPS Server 2003 64b but can't too.

View 3 Replies View Related

Centos 5 Partition HD Via SSH

Apr 22, 2009

my DC has partitioned my server really complicated and im trying to install various different control panels and im running out of space, so id like to combine all my partitions into one.

How would i do this via SSH in centos 5.2?

View 7 Replies View Related

Partition /usr Full 100%

Nov 25, 2008

i have problem and make all solution and the problem stay
the /usr partition is full 100%

i remove all logs in :
/usr/local/apache/logs
/usr/local/apache/domlogs
and make du -h --max-depth=1 in /usr that's the monitor :
Code:
76K ./doc
37M ./sbin
366M ./src
110M ./X11R6
14M ./php4
176K ./man
16K ./lost+found
24M ./evolution28
2.2G ./local
12K ./etc
19M ./libexec
1.2G ./share
62M ./include
181M ./bin
362M ./java
958M ./lib
1.4M ./kerberos
6.4G .

View 7 Replies View Related

CentOS5 - HDD Partition

May 14, 2008

I'm trying to install CentOS5. Although the default partition should work fine for me, but I would like to create my own partition for /var, /usr/, /tmp, /swap, etc. Can you recommend me a good partion including the size. My server has 4GB RAM and 500GB SATA2 HDD. I don't use much space of HDD.

View 10 Replies View Related

Creating A New Partition

Mar 6, 2008

The server I got from LayeredTech has two hard drives, obviously they set up the first hard drive with Linux etc.

The second hard drive is just there, not showing any partitions in 'fdisk' when I checked, so I assume they just leave it blank in every new server for the owner to deal with however they want.

I've been looking up guides to create a new partition for the full size of the hard drive and then mount it. However, it hasn't been very successful. Everytime I created the partition in fdisk, I have to set a size, and then when I mount it, it only says that the drive is ~98MB big.

Is there a way to partition the drive to its full capacity? And then mount it somewhere on the system? Or anywhere I can go to to find out easily?

View 7 Replies View Related

Resizing Partition

Apr 23, 2008

I recently ordered a new dedicated machine and for some reason the guys set it up so the /home partition is a massive 250GB, and the / partition is a tiny 20GB. Since that's where all the plesk domains will be storing their files, I'd like to resize things a bit. I'm thinking of making the / partition 200GB and the rest for /home

It's a CentOS machine and the filesystems are ext3.

How can I do this resizing, and are there any caveats I should be aware of?

View 6 Replies View Related

How To Partition Drive

Mar 28, 2008

im assembling my server now....waiting on the 90degree connectors. It is as follows:

SUPERMICRO CSE-512L-260B Black 14" Mini 1U Server Case
ASUS M2N-MX SE Plus AM2+/AM2 NVIDIA GeForce 6100 Micro ATX AMD Motherboard
AMD Athlon 64 X2 4200+ Brisbane 2.2GHz Socket AM2 65W Dual-Core Processor
Dynatron A48G 70mm 2 Ball CPU Cooler - Retail
2gb ddr2 6400 ram
Seagate 500gb 7200.11 32mb hdd
WD 37gb raptor 10k rpm

the wd drive was lying around the house so i figured id add it since i had an extra slot and figured the speed wouldnt hurt.

My question is....how should i partition the drives.? I have 500+gb of space on 2 hard drives. I plan on using centos 5.1 and am downloading the iso now.

View 1 Replies View Related

Best Possible Partition Scheme

Jan 21, 2008

What would be an optimal security partioning scheme for a C2D server with a 160 gb HD
Usage for small web hosting company

I dont feel safe with the default setup that I have heard of with the company

View 1 Replies View Related

Raid1 Partition

May 26, 2008

If this is not in the right forum for this... I'm sorry didnt knew where else it may go.

I have to build a new server with RAID 1 and WHM/Cpanel installed (in fact i dont have to, but i need to learn ASAP and my boss gave me an old server for practice).

I've seen the installation guide of cpanel but the sizes of the partitions apply to a disk of 80 GB (i think so) so is there any way to calculate the size of the partitions, regardless of disk size? cuz mine are of 250 gb each.

I'm trying to install it on centos 5 on text mode, so far i have been able to successfully install the system (with partitions of any size... since is a test doesnt matter) with RAID 1.

After that i ran cat /proc/mdstat and in some partitions shows me this

Rsync=Delayed

I've read in some places that this is not a big issue... but in other places says it is... maybe i did something wrong

View 2 Replies View Related

Renaming A Partition

Jun 21, 2007

I've spent a while on google and the forums but couldnt find an answer to a question.

Is it possible to change the name of a partition in linux?

e.g. its currently called Disk /dev/mapper/VolGroup01-LogVol00 (/)
But i would rather name is something normal like /dev/sda1

Is this possible with out losing any data?

If so how can this be done?

View 3 Replies View Related







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