Tag Info

New answers tagged

0

I was finally able to figure it out! I changed the DocumentRoot to "H:\" and worked my way up the child directories (H:\Users to H:\Users\Owner, etc). I got to H:\Users\Owner\Documents" and thats where Apache stopped being able to start, but I was able to start it by going to the command line and just running "httpd.exe". So, it turned out to a permission ...


0

They are probably re-written addresses. Check your htaccess files and your website configuration files for rewrite rules or virtual directories.


1

But be aware that open_basedir will just restrict directory access for PHP functions and the like but not for external programs that are being executed via PHP. For example: <?php $file = shell_exec('cat /etc/passwd'); echo $file; will output the contents of the /etc/passwd file without a problem, because the filesystem access is not ...


0

You can use parameter open_basedir defined in php.ini. This parameter will prevent the PHP script accessing file (such as fopen() or include()) outside the directory specified in open_basedir. See this page for documentation.


0

For locations that aren't directories, use <Location> instead of <Directory>.


1

This command works regardless of the directories' names. To remove the third oldest directory: ls --sort t -l | grep -v total | awk '{print $9}' | head -n -2 | tail -1 | xargs rm -rf


1

Try this: ls -1tr | grep 2014\- | head -1 | xargs rm -rf


0

Try adding the computer by putting the full domain address instead of just the domain name. This worked for me. Don't ask me why because it shouldn't make any difference but it and it joined fine after trying to connect it all day using just the domain name.



Top 50 recent answers are included