Tag Info

New answers tagged

0

Solution is one of the folder in the hierarchy didnt have execute permission


0

my another doubt is that, is there any stetting to be loaded with my dlink DSL-2730 router to map the ip address of raspberry pi with domain name(in router)? Something like that, yes. The problem is, just because your Apache claims to accept requests for www.myownraspberrypi.com, it doesn't automatically mean other computers will send requests to it. ...


0

My intention is to redirect any SSL users on a wildcard subdomain to port 80 automatically (because I don't have a wildcard ssl certificate and I don't want them to see an error/warning) Any redirections are done AFTER the TLS connection was established. Thus it is not possible to redirect a user away from a domain where you don't have a certificate ...


0

not to dredge up old posts, but OSX has an FTP server that's simply dormant. To load the FTP server, just run the Terminal app and run the command: sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist


0

Basically, because Apache wasn't built for it. The problem is server memory usage. In many configurations, content generation is done in the same process as content delivery, so each process will grow to the size of the largest thing it handles. Picture a process expanding to 64mb because of a heavy php script, then that bloated process sitting and ...


0

Try putting a specific ip and port in each of your VirtualHost blocks. So put: <VirtualHost 127.0.0.1:80>


0

Make sure the directories that are missing are created. These directories should have appropriate permissions as well. Usually 755 permissions are sufficient. Exmaple as below. mkdir /var/www/example.com/subdomain mkdir /var/log/apache2 Replace example.com and subdomain with actual directory names.


3

My problem was that I was running the PHP files from Bluefish, which sent them to Firefox and appeared in the URL bar as file:///var/www/html/index.php. This is incorrect for PHP files to run on the local machine. Instead, the URL should've read: localhost/index.php. This reflects my index.php file stored in /var/www/html. This is the only way on the local ...


3

The comments thread had a bunch of useful troubleshooting tips but it turned out the issue was with the browser. I recommend having a spare, 'pristine' browser for testing, so if your mimetypes are messed up, you can still check. The OP installed opera and it worked, when firefox didn't. In his shoes, I might consider purging firefox - which eliminates all ...


0

Go to your MAMP folder in Applications. Go to bin -> apache2 -> bin: Then rename the file from "envvars" to "_envvars". ref: http://stackoverflow.com/questions/25201280/apache-not-starting-on-mamp-pro


0

Did you try to remove the following line from your configuration file : SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire Those options are not required for basic authentication. And one of those options may break your basic authentication. If so, you found the root cause.


3

If Apache is writing a file of some kind to one place and has not completed writing it and then rsync kicks in, rsync will copy whatever is sitting there. Meaning if Apache is dealing with a 5MB file, only 2MB is written and rsync kicks in, the partial 2MB file will be copied. So that file would seem like it is “corrupted” on the destination server. ...


2

Yes - and the file might be corrupted if rsync is reading the file at the same time the file is being written to. You can try this: http://unix.stackexchange.com/a/2558 You can also script it with lsof: lsof /path/to file An exit code of 0 means that the file is in use, and exit code of 1 means there's no activity on that file.


0

I had same problem. RedHat can not download httpd from repository. You need to configure CentOs-Base repo fot RedHat. Create a file centos-base.repo with the follwing contents in /etc/yum.repos.d (change the release version of this file, the below snapshot is for release version 6) yum.repos.d ...


2

Well, I finally found the solution. Actually, Apache unset the $HOME environment variable, (see line 4 of /etc/apache2/envvar file: unset HOME) The only thing to do was to add: export HOME=/var/www before the forever list line in the bash script. And works like a charm.


1

Have you installed phpmyadmin? Seems to me like you missed it. It's not a part of the LAMP stack per se, but an administration tool for configuring MySQL (which is written in php). You would need to do sudo apt-get install phpmyadmin as per this guide. After completing this step, you should be able to access phpMyAdmin. Hope this helps ;)


0

The SIGTERM is simply a POSIX process signal that tells the system how to stop a process; in this case Apache. As per that Wikipedia link: The SIGTERM signal is sent to a process to request its termination. Unlike the SIGKILL signal, it can be caught and interpreted or ignored by the process. This allows the process to perform nice termination ...


0

The most likely issue you're having is that your yum database has not been updated. You have two options: Update the yum database manually on your machines using: sudo yum update –y Create a chef recipe (or line in another chef recipe) which updates the yum database before running the rest of your commands. You can do this with the following line: ...


0

All you have do do is properly configure your ftp service provider. I use VSFTPD, so my configuration was in /etc/vsftpd.conf inside there, there was a setting commented out, #chown-uploads=YES. after uncommenting this (by removing the pound symbol) all files uploaded via ftp were owned by the currently logged in user. this allowed easy editting from ...


0

I found https://discussions.apple.com/thread/6602475 indicating that to stop both httpd processes from stopping and to stop the error I saw in my log stating 11/24/14 4:53:29.105 PM com.apple.xpc.launchd[1]: (org.apache.httpd) Service only ran for 0 seconds. Pushing respawn out by 10 seconds. that I had to use sudo apachectl stop sudo killall -9 httpd ...


0

Try enabling logging for mod_ssl. It's off by default. Unfortunately, you didn't say what version of mod_ssl you're using. Newer versions of mod_ssl use the ErrorLog and LogLevel directives. Add the following to ssl.conf: ErrorLog /var/log/apache2/ssl_engine.log LogLevel warn You can also use a CustomLog format in apache: CustomLog ...


0

Step 1: Use OpenSSL to produce the keys that are used to secure your site. These keys are used when encrypting and decrypting the traffic to your secure site. $openssl genrsa -out mydomain.key 1024 Step 2: Generate your own certificate . $ openssl req -new -key mydomain.key -x509 -out mydomain.crt Step 3: Keep the pricate key in the ...


0

I got it working. These links helped me: http://aruljohn.com/info/virtualbox-access-guest-from-host-nat/ http://support.nagios.com/forum/viewtopic.php?f=7&t=28348


0

You can divide the problem into smaller parts that will help troubleshooting: Use 'ping ' from the host to the guest to determine if you can reach it. Check if there are firewalls running on the guest that blocks ping and/or www ports (e.g. 'iptables -L'. Open the web page with a browser within the guest to check that it's actually running and accessible. ...


0

I have a GitHub repo to fix it for Ubuntu - https://github.com/AbhishekGhosh/Nginx-PHP5-FPM-Restart-Fix-on-Ubuntu. Some work needed on /etc/init.d/php5-fpm && /etc/php5/fpm/php-fpm.conf. All is written there. It is for Ubuntu 13, 14 etc. You possibly need a bit modification.



Top 50 recent answers are included