I run a webpage on CentOS 6.6 by using Apache 2.4.10. My documentroot is /var/www/htdocs. Last month, because my disk became full, I added another disk in /disk1. I want to place large movie files in this directory and want visitors of my website to watch the videos. However, when I tried to make symbolic links from /var/www/htdocs/movies to /disk1/movies, I failed. How can I make symbolic links on Apache? Is there another good way to realize what I want to do?
1
There are 1 best solutions below
Related Questions in APACHE
- Special access rule in an .htaccess file for IP addresses, authorized only for one directory structure
- How to isolate PHP apps from each other on a local machine(Windows or Linux)?
- Cannot load modules/mod_dav_svn.so into server
- How to ignore case in regexp mapping in a .htaccess rewrite rule?
- Oracle Http server ISNT-07551
- I cant access file directory with PHP local host on XAMPP. it just shows one of the files I have in my visual studio code
- Apache Reverse Proxy: only one proxy directive is working. Second one is ignored
- Issue with Django --> Apache WSGI deployment
- changing the node version used by apache web server
- Apache: How can I redirect to a subfolder with a URL param but serve required content via the main URL?
- Why/How does Apache auto-include "DHE" TLS1.2 ciphers while nginx needs "dhparams" file?
- Set up MX records in apache/Ubuntu to point to external mail server
- How to proxy to another port?
- Php can not upload file out of /var/www/html even after disabling Selinux
- Serve static site on S3 + CloudFlare with Apache retaining the source URL
Related Questions in SYMLINK
- Keep multi-version of a static-lib like what we do for shared-libs
- Too many levels of symbolic links nvim
- Listing all files in the directories and subdirectories recursively in c++
- Symlink Import Error in React "Module parse failed: Unexpected token"
- rsync omit times for symlinks
- How to create a symlink using ansible.builtin.file with wildcard in src path?
- error while deploying my a react js project
- iTerm2 keeps recreating symlink
- How to gracefully reload gunicorn changing symlink under supervisor
- Symbolic link not present in final image file system when using multilib feature in Yocto
- set location of .snakemake directory
- Why Github could be not showing my symliked README's images?
- git: check-in a file in a symlink directory fails
- Rsync -l flag is not working as expected for simlink
- why is is_regular_file reporting true for symbolic link
Related Questions in CENTOS6
- Migrate to CentOS Stream 9
- Installing scipy on CentOS 6 (OpenBLAS problem)
- Installing dotnet on CentOS 6.1
- Running `wsgetmail` service via Crontab job CentOS 6
- sudo ./VMware-ovftool-4.3.0-13981069-lin.x86_64.bundle /var/tmp/scllpy5Nh: line 8: ./VMware-ovftool-4.3.0-13981069-lin.x86_64.bundle: Permission denie
- How to Install FFMpeg on centos 6 in 2022?
- How to Migrate from Centos6.10 to Ubuntu20LTS
- how to fix error cannot retrieve repository metadata (repomd.xml) for repository base on centos6
- can't do yum update on centos6
- How i can correct install bit library in Python?
- ssh on CentOS6 no longer works with GitHub
- postgreSQL 8.4.20: How to solve missing oldestXID in pg_control preventing use of pg_upgrade on a legacy CentOS 6.4 server?
- Benchmarking 1.1.1.1 (be patient) socket: Too many open files (24)
- Updated java installation cannot be located in centos6
- Compile for c++14 on CentOS 6
Related Questions in LN
- How can I avoid 'are the same file' error when using 'ln' in Linux?
- ln Link is not created when used IFS=read variable for pathname
- M1 MacBook can not execute python, after execute ln -s /usr/bin/python3 /usr/bin/local/python
- Why does the Linux shell command test -ef not work on soft links as its manual describes?
- Bash script 'ln' command gives 'No such file or directory' error despite valid paths. Why?
- Create symbolic link out of find result (find -exexdir and -ln )
- Transforming all variables to log
- Ln command error "target not a directory"
- soft link on windows folder
- Is there any way that automate the localizations translations of my app's .arb file
- Npm link and scoped packages
- I unlink-ed my Python path, what should I do now?
- Why I can not give the 'ln -s' command an operand through out the command sub $(ls ../*.txt)?
- get unique root links from a directory of symlinks
- ln command breaks when there is a space in filename
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Make sure you have you set the 'FollowSymLinks' Option in httpd.conf and your apache user has rx permission for the symlink target dir path.