apache configuration questions

Ask questions regarding Gentoox, Gentoo and Linux in general in these forums and we'll do our best to help you!
Post Reply
scottmertz2
Newbie
Posts: 2
Joined: Thu Sep 14, 2006 12:55 am

apache configuration questions

Post by scottmertz2 » Thu Sep 14, 2006 1:16 am

I have installed apache and php on my xbox. What i was wondering after searching the forums is whether you can configure apache to share a folder other than one created in the rootfs file system. For example, a folder that is on the f drive with rootfs on the e drive

orochi
Gentoox Guru!
Posts: 606
Joined: Sun Oct 24, 2004 8:11 am

Post by orochi » Thu Sep 14, 2006 3:28 am

check your apache config files, it has the layout there it will go something like this


Alias /weburlfoldername/ "/mnt/fatx/f/folder/to/share"



<Directory "/mnt/fatx/f/folder/to/share">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

between the <Directory> directives you will set the options you want instead.

Other option would be to do a symbolic link (if your apache config files will follow them

ln -s /www/localhost/htdocs/webfoldername /mnt/fatx/f/folder/to/share

last option would be to mount the f: within your /www/localhost/htdocs folder

it would be something like

mkdir /www/localhost/hdocs/webfolder
mount -t fatx /dev/hda55 (or whatever it is) /www/localhost/htdocs/webfolder

something like that, im going on 3hrs sleep and 10hrs of work check my sig this should point you in some directions

scottmertz2
Newbie
Posts: 2
Joined: Thu Sep 14, 2006 12:55 am

Post by scottmertz2 » Mon Sep 18, 2006 4:21 am

thanks for the help, i'll definately try those steps you just outlined. I was putting the directory in the wrong location, the config file was getting messed up. thanks for clearing it up again

orochi
Gentoox Guru!
Posts: 606
Joined: Sun Oct 24, 2004 8:11 am

Post by orochi » Mon Sep 18, 2006 5:38 am

np

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests