131 reputation
18
bio website faridr.com
location
age
visits member for 3 years, 2 months
seen Nov 21 at 18:47

Nov
21
awarded  Notable Question
Jan
17
awarded  Popular Question
Jun
9
comment Apache acting strange on symlinks
Thanks man, you saved me!
Jun
9
accepted Apache acting strange on symlinks
Jun
9
comment Apache acting strange on symlinks
Can you please explain what's the use of this command? and is chcon -Rv --type=httpd_sys_content_t /data/media similar to your solution?
Jun
9
comment Apache acting strange on symlinks
Now after typing setenforce 0 it seems to work and as you said it should be cause by SELinux. but your solution does not seems to work because os cannot understand semanage command!?
Jun
9
comment Apache acting strange on symlinks
ok, ok, ok. I gotta admit I've done anything that I could to make it work. I created an alias for media folder to see if the result is different from symlink and I think error 500 was because of my bad virtual-directory configuration. I removed this alias there's no more error 500.
Jun
9
comment Apache acting strange on symlinks
When I type ls -Z in /data/ folder I get drwxrwxrwx. apache apache unconfined_u:object_r:file_t:s0 media. I have no idea what does it mean. Can it help me finding the problem?
Jun
9
comment Apache acting strange on symlinks
Line what? I just created a new partition, mounted it to /data/ and then copied media folder from /home to here. What should I do? It's a production website and now I'm stuck in a bad situation!
Jun
9
comment Apache acting strange on symlinks
Thanks for your answer. I did typed setenforce 0 but now I'm getting error 500 and apache log file says: Premature end of script headers
Jun
9
asked Apache acting strange on symlinks
Jan
15
awarded  Popular Question
Dec
15
answered Configuring memcached for a particular scenario
Dec
15
awarded  Editor
Dec
15
comment Installing MySQl 5.5 on CentOS 6 dependencies conflict
@MichaelHampton first of all, it was only temporary to install mysql. next, instead of down-voting me, complete your answer and add details to it, so I can mark it as accepted answer.
Dec
15
awarded  Supporter
Dec
15
awarded  Teacher
Dec
14
comment Installing MySQl 5.5 on CentOS 6 dependencies conflict
@MichaelHampton Problem was not only becase of IUS repo, I had to disable other repos like base and etc. to install latest version of mysql. Now why are these repos storing different versions of a package? Which one of these issues have you mentioned in your answer??
Dec
14
answered How to use Squid(Proxy and reverse proxy) with joomla
Dec
14
comment Installing MySQl 5.5 on CentOS 6 dependencies conflict
@ChrisS I'm sure his answer is not completely correct but it helped me to find my solution, I asked him to guide me more clearly on his answer by commenting on his answer but he didn't answered them and now I have answered my question by myself and shared my own solution. What else could I do, remove my question or live it be for the end of time unanswered for the people who may have the same question?!