Apache :: How To Use Data Outside Of Root Directory

Jan 2, 2014

I have home a server Apache. I want to put all my party songs in one partition and can listen from anywhere without having to take CDs. I have my site in C:Site and the songs I put it in D:Songs.

In php I see the D:Songs directory, I can read subdirectories, I see the .mp3 and .Wav files, I created the playlist, but the audio player doesn't start.

If I move the songs files in C:Site or C:SiteSongs goes perfectly, I can listen my music, but I do not want to be there.
Why I see in D:Songs, but does not want to go? In httpd.conf I have:

DocumentRoot "C:/Site/"
<Directory />
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>

and

<Directory "C:/Site/">
Options Indexes FollowSymLinks
AllowOverride all
Order Allow,Deny
Allow from all
</Directory>

I try to put also:

<Directory "D:/Songs/">
Options Indexes FollowSymLinks
AllowOverride all
Order Allow,Deny
Allow from all
</Directory>

bud does not work. "What Can I Do"?

[URL] ....

View 7 Replies


ADVERTISEMENT

Apache :: Document Root Must Be Directory

Jun 2, 2014

In httpd.conf I have

DocumentRoot "C:/Programme/Apache_Group/Tomcat-8.0.5/webapps/ROOT/"

2.4.9 is complaining about this having to be a directory. It is definiteley. I can browse it with explorer.

When I change this to "C:/Program Files/..." it works.

Why is that? In the stock Win32 server I downloaded from the apache site I did not have to make this change.

View 4 Replies View Related

Apache :: Applying Root Directory Attributes To All Subdirectories

Feb 18, 2013

I am running Apache2 server (version 2.2.16) on Debian Linux.

My document root for directory listings is set and in that folder I have a few other files to configure the formatting and visual effects. These are:

images(folder)
sorttable.js
style.css
index.php

These files make the root directory look very nice. If I navigate in to a subdirectory, all of the formatting and visual effects are lost and the standard text layout is shown. Is there a way I can get ALL subdirectories in the root directory to take on the visual and layout effects from the root directory?

I know it works if I manually copy each of the files to each of the subdirectories which would be fine, but the subdirectories are created dynamically and new ones are added regularly.

View 1 Replies View Related

Separate Url For Each Blog's Root Directory

Apr 24, 2008

My family is getting into the blogging business and they want to be hosted together to share costs. What features should I look for in hosting 4 or 5 small but growing blogs?

Info that may help you give a recomendation:I plan to have a separate url for each blog's root directory.

I plan to use wordpress.

I want each site to have it's own email addresses.

View 11 Replies View Related

Plesk 12.x / Linux :: Place File Into Document Root Directory?

Jul 11, 2014

I need to place a file in the root of my server. How should I do?

I tried:
SSH connection
wget ......
but the file is not in the right place

Where should I place it?

View 2 Replies View Related

Plesk Automation :: How To Correctly Change / Move Data Directory

Nov 14, 2013

I want to move the data directory to another partition on all nodes. Apache (vhost), IIS (vhost), MySQL (databases) and Postfix (mailbox content). What's the correct way to do this without breaking functionality of PPA?

View 5 Replies View Related

Apache :: Permissions For Web Root

Sep 1, 2014

My web server starts from /var/www/xxx/xxx/

I have installed phpmyadmin, and i tried placing the folder both in /var/www/xxx/xxx/ and /var/www/ and neither seem to work.

How I can get it to show up in the /var/www/xxx/xxx so i can just access from my.site.name/phpmyadmin

Even more preferred would be keeping it in the /var/www/ folder, but still being able to access my site at my.site.name/index.php and my phpadmin by my.site.name/phpmyadmin

View 1 Replies View Related

Apache Parent Owns Root

Jul 15, 2009

Why apache parent process still owned by root user.

=========
root@server:~# ps aux | grep apache2
root 30161 0.0 0.8 35588 8368 ? Ss 17:41 0:00 /usr/sbin/apache2 -k start
www-data 30166 0.0 0.7 36080 7196 ? S 17:41 0:00 /usr/sbin/apache2 -k start ...

View 5 Replies View Related

Apache Document Root On Linux

Sep 5, 2007

Basic question: does it matter where I set the document root for apache on a Linux system? I've googled this but haven't found a good answer.

This is for a VPS server running the Ubuntu (Debian) server os that I'm configuring. I'd prefer to simply create a new directory off the root and set that as the document root in the apache config file. Would this present any kind of security issue?

If that's no good, what's the best choice -- stick to the default?

View 3 Replies View Related







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