Page 1 of 1
apache configuration questions
Posted: Thu Sep 14, 2006 1:16 am
by scottmertz2
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
Posted: Thu Sep 14, 2006 3:28 am
by orochi
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
Posted: Mon Sep 18, 2006 4:21 am
by scottmertz2
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
Posted: Mon Sep 18, 2006 5:38 am
by orochi
np