Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It has come to light that this person is running an IT business listing fake "capabilities" to lure and befuddle unsuspecting victims.
A search for their username should turn up 2 wordpress blogs, one of which contains the attached list of "capabilities" as well as a link to another site containing even more nonsense/presumptiousness.
I will not link these sites.
But I think anyone attempting to help someone who's so habitually exaggerating/pretending/overbearing to obviously oversell their questionable services, should know about these things first.
I always use that source, but it does not address this scenario. Here is a sample:
Quote:
Alias "/ads" "/media/$USER/3Tdrive/Syncs/Corporate/Marketing/Ad Campaigns/"
<Directory "/media/$USER/3Tdrive/Syncs/Corporate/Marketing/Ad Campaigns/">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Require all granted
</Directory>
According to the info in the link you sent this should work fine, but not being in the root "/" directory, the "/home", "/var". or the "/var/www" directories, or in otherwords the default drive, it somehow does not render correctly.
What I am asking is can I use a symlink to trick Apache into seeing this drive as a directory on the default drive. The other option I see is a mount statement in the "fstab" file, to give it a fixed directory location in the file system. I think because it is showing under "/media" the system sees it as a temp directory and there Apache will not recognize it.
Correct me if I'm wrong, but I think this is the scenario.
If the content is on another drive, make that the DocumentRoot; then no alias would be required.
scasey,
Under the /media/$USER/3T the drive sometimes does not register on boot up, so thinking I need to add it to fstab to make sure it is always there, so the Doc Root will naver fail. Am I right?
What do you think that means to apache when it starts?
Code:
<Directory "/media/$USER/3Tdrive/Syncs/Corporate/Marketing/Ad Campaigns/">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Require all granted
</Directory>
Again, what does that mean to apache?
That makes no sense at all to me. It appears that you expect apache to change the path it serves from based on who logs in to the system... is that right? If so, you need to rethink that.
So once more, what are you expecting the value of $USER to be when apache reads that config file?
What do you think that means to apache when it starts?
Code:
<Directory "/media/$USER/3Tdrive/Syncs/Corporate/Marketing/Ad Campaigns/">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Require all granted
</Directory>
Again, what does that mean to apache?
That makes no sense at all to me. It appears that you expect apache to change the path it serves from based on who logs in to the system... is that right? If so, you need to rethink that.
So once more, what are you expecting the value of $USER to be when apache reads that config file?
astrogeek,
I went to "fstabs" and entered the 3 TB drive so now on boot it mounts as just "3T". Now my aliases.comf file reads for one new link:
Quote:
Alias "/WRU" "/3T/Syncs/pathinfo/Webs-R-Us/"
<Directory "/3T/Syncs/pathinfo/Webs-R-Us/">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Require all granted
</Directory>
Which should assign the declared directory to "localhost/WRU" in the browser, but it is not and also not rendering any of the .PHP files, which is declared in the /etc/apache2/apache.conr file.
Not really sure what you are asking, but that is my understanding of an alias!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.