3,014 reputation
22146
bio website google.com/+DannyHajj
location Beirut, Lebanon
age 28
visits member for 3 years, 11 months
seen 1 hour ago

I'm a Web Developer, my work has varied from asp.net (with C#) to PHP.

I've also worked on Drupal and Wordpress, but now I mainly work on Magento,.

I've adopted Ubuntu when I stopped working with .Net and started PHP. Ubuntu was at version 10.10 and I have been an Ubuntu user ever since.

GitHub: https://github.com/dannyhajj
Twitter: https://twitter.com/dannyhajj
Google+: https://google.com/+DannyHajj


Dec
14
comment How to run command every 15min?
It's better to use sudo crontab -e instead of having sudo in the cron job command. As the other will need to wait for the password input. But even better is to use contab -e -u <some-user-name> if it is an option.
Nov
27
awarded  Notable Question
Nov
24
comment 403 error after upgrading to apache2.4
@diEcho this answer is not fully valid for a xampp installation. This is only for apache that was installed with apt-get.
Nov
10
revised Photoshop Installation in 10.10
Re-add the duplicate link
Oct
30
awarded  Enlightened
Oct
29
awarded  Nice Answer
Oct
7
comment Could not reliably determine the server's fully qualified domain name?
@CPBL This will be the default server name for all sites. If you only have one site, then that's all you need to do. If you have multiple sites on your server, you will also need to add the servername directive for each site in their respective virtual host configuration.
Oct
7
comment How do I get Mono to work in Ubuntu server
@bri_ryche You need to install the module: sudo apt-get install libapache2-mod-mono
Oct
7
comment how to config htaccess file after enabling mod_rewrite module?
@jazz_razor Did you restart apache after you did the modifications to the 000-default.conf file? You can restart it with sudo apache2ctl restart. If you did, are you sure the rewrite rules are correct?
Oct
7
comment When I try to acess my websitefolder in Ubuntu Im getting a blank page
I added the libapache2-mod-php5 package as it is needed for apache to run PHP
Oct
7
revised When I try to acess my websitefolder in Ubuntu Im getting a blank page
Apache will not parse PHP code if the libapache2-mod-php5 module is not installed.
Oct
7
comment When I try to acess my websitefolder in Ubuntu Im getting a blank page
@blade19899 I don't recommend adding editing apache2.conf, it's better to create a virtual host file in /etc/apache2/sites-available. Almost all apache configurations can be overridden without any need to modify the default conf.
Sep
30
awarded  Explainer
Sep
25
comment GIT Error Cloning new repos fails with error :fatal: The remote end hung up unexpectedly error: RPC failed; result=22, HTTP code = 500
From the man page of git-clone: Create a shallow clone with a history truncated to the specified number of revisions. So the idea is that when you clone with --depth, you don't clone the repository with all the history. In your case, the history will only be the last commit of where HEAD is on the remote (you can verify it with git log).
Sep
24
comment Is it okay to use symbolic links in my web server?
Symlinks are somewhat bad practice on a web-server. There is a good explanation on Server Fault about this: serverfault.com/a/244612/66406. But, in your case, you are using the symbolic link on your root directory, so you can still have the FollowSymLinks option in apache disabled and it would still work. So that security problem wouldn't be an issue.
Sep
19
revised Why some server requires './' to run scripts but others don't?
deleted 35 characters in body; edited tags; edited title
Sep
15
awarded  Popular Question
Sep
15
revised How can I change the default editor of the sudoedit command to be vim?
Made the title a bit more generic
Sep
1
awarded  Nice Answer
Aug
29
revised Is this a security risk/concern?
deleted 74 characters in body