Change localhost directory for Yosemite Apache 2.4

I’ve just installed Yosemite and I managed to change the DocumentRoot without any problems. First I modified the following lines in /private/etc/apache2/httpd.conf: DocumentRoot “/Library/WebServer/Documents” <Directory “/Library/WebServer/Documents”> Options FollowSymLinks Multiviews AllowOverride None </Directory> to: DocumentRoot “<CUSTOM_PATH>” <Directory “<CUSTOM_PATH>”> Options Indexes FollowSymLinks Multiviews AllowOverride All </Directory> The above will set a custom DocumentRoot, enable directory listing and … Read more

Compile OpenSSL with the ‘shared’ option?

Same problem here, BUT usually Makefiles will consider environment variables for compiler or linker options. So, if you place the -fPIC option before calling the configure script, it should take care of it. You can do it with: CFLAGS=-fPIC ./config shared –prefix=/your/path or export CFLAGS=-fPIC ./config shared –prefix=/your/path It worked for me.

Why does zookeeper not use my log4j.properties file log directory

I wanted to add how I fixed this problem / customized my environment. There are 2 logging mechanisms working here: bin/zkServer.sh redirects the zookeeper server’s stdout and stderr to zookeeper.out log4j can append to logs to several places including: CONSOLE – which ends up in zookeeper server’s stdout and stderr ROLLINGFILE – which is sent … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)