mardi 2 décembre 2014

Apache error MAMP virtual host


Trying to run a project built in ubuntu with php on fat-free framework.Now i am using MAMP on macOS Yosemite 10.10.1.


I imported a database succesfully through phpmyadmin & following these instructions http://ift.tt/1yeqtM1 my httpd-vhosts.conf file looks like this:


ServerAdmin webmaster@localhost



DocumentRoot "/var/www/site"

<Directory "/var/www/site">
Options -Indexes FollowSymLinks Includes
AllowOverride All
Order allow,deny
Allow from All
</Directory>


ErrorLog ${APACHE_LOG_DIR}/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel debug

CustomLog ${APACHE_LOG_DIR}/access.log combined


The project files are located at the "htdocs" web root folder in /Applications/MAMP/htdocs Note that when i am trying to run it on this form the Apache server throws error , it does not run. But when i comment the ErrorLog section the apache server runs properly but all i get is a blank page!


Does anyone come up with this problem before , it is taking me ages to get this running! Any help would be valuable ! Thank you





Duplicated content - how to tell Google I am original author


Let's say I prepared an article I wish to publish on my not so popular blog. But I am afraid that this article is so good that much more popular site will steal it and publish it on its own. I am guessing that because of low popularity of my blog, the Google would show links to the bad site instead of my own. Is there a way to prevent such outcome? What if I would prepare an article, publish it on my blog and later decide it it so good that I'll put it on Wikipedia, is there a way that Google would consider me above Wikipedia?





Having Traffic on website


I have a very simple query that I need solving.



What are the advantages of having traffic on your website?


Will it raise your SEO ranking on google? Please exclude the fact that it will raise awareness of your product/server, assume that the visiters are robots that only view the pages.


Some information regarding this would be appreciated.


Regards





Indexing Problem


In google webmaster tools appears that I have 309 pages indexed, but when I search using "site:site.com" appear about 180 only (On the first page appears "about 608 results," something near the total number of posts).


I have also noticed that some pages indexed before simply disappeared from google. In google webmaster tools there is no error message or anything to indicate any punishment by google.


According to the google webmaster tools, daily new pages are indexed, but for some reason they are not displayed in the search.


I'm really being affected by some punishment by google or this is some kind of bug?


How can I solve this problem and have all pages indexed normally?


*Sorry for my bad english





Can I use Google Analytics to track a specific referrer URL?


I have a Featured Product block on my website's home page. I'd like to track it's efficacy by adding a handle ?referrer=featured to it and then have Google Analytics track checkout on said product.


I'm assuming I'd need to set up a goal to do so, I looked at the options via Admin → Goals → New Goal but can't seem to find anything relevant there.


Will I need to put a specific tracking code in the template page for the product? The tricky bit is that the featured product is changed daily, so I'd like to track if anybody buys any featured product by clicking on the block, hence why I was thinking of the URL handle.


Any ideas? Much appreciated.





Show warning content only once in 30 minutes


I've been trying to write the code but I failed everytime somewhere.


I need to show div #warning only once in 30 minutes.


I use jquery-1.10.2.min.js and I'd like to not use nomore js if it's possible.


Thank you





Can I use multiple Paypal Products together?


I am building a complex website that has multiple scenarios. I need to know if I could use multiple paypal products in 1 website as they are needed based on the need.


Here is what I have in my mind:


1) Express Checkout at "Signup" (joining)


2) Express Checkout (recursive payment) for "Periodic Dues" that starts after 1st period (as first period is already covered in joining fees)


3) Paypal Mass Pay for Revenue distribution with our users who paid to join in step 1.


4) use Adaptive Payment (Parallel) for "Buy" and "Sell" of user-products between users (they will add products on their own, and sell on their own.. I will just get a percentage).


What do you say? is it doable?