I have XAMPP server which works fine. When I wanted to load webpages through my lan network it said I need to edit httpd-xampp.conf. When I try to load from internet there is no connection at all. I changed httpd-xampp.conf from this
Code :
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))"> Order deny,allow Deny from all Allow from 127.0.0.0/8 ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var </LocationMatch>
I have a vps with cheapvps.co.uk.their service is great. I have used it for one month without any problems. but today I noticed that I can not access my vps through web browser. it gave me this error : Connection actively refused by the server
after contacting support it was clear for me that the problem is that xampp apache is not running. and support said that as my vps is unmanaged they can not help me right now.
when I enter this command : /opt/lampp/lampp startapache
I see this message : XAMPP: Starting Apache with SSL (and PHP5)...
and then nothing happens and apache does not start.
I completely removed Xampp and reinstalled it. then when I try to start xamp apache it says :
XAMPP: Starting Apache with SSL (and PHP5)... XAMPP: Error 1! Couldn't start Apache! XAMPP: Starting diagnose... XAMPP: Make the httpd.conf fit your system. XAMPP: Next try... XAMPP: Starting Apache with SSL (and PHP5)...
I do not know what to do with httpd.conf and I dont know where exactly it is.
I installed XAMPP a few weeks ago and had a php website working on my localhost – all worked fine no probs. To do this I had to stop my IIS server as this was also using port:80 which is what XAMPP is set to use as default. Now for some reason when I started IIS again a few days ago to do some asp development work and then stopped it again, the apache server would not start even though I’ve definitely stopped IIS. I have tried uninstalling and re-installing XAMPP, but it still won’t start. I tried running the apache_start.bat from the command line and I got the following error message:
"An attempt was made to access a socket in a way forbidden by its access permissions": make_sock: unable to listen for connections on address 0.0.0.0:80 no listening sockets available, shutting down Apache could not be started
If I try and start Apache from the XAMPP control panel it just says Apache:stopped and the message in the bottom window is ERROR: Apache service not started [-1]
I was just wondering if you had come across this problem before? If yes, how did you resolve it? Someone mentioned changing the port, but being a bit new to apache and XAMPP I’m not really sure what would need to change in what config files.
Problem detected! 19:58:32 [Apache] Port 80 in use by "Unable to open process" with PID 4! 19:58:32 [Apache] Apache WILL NOT start without the configured ports free! 19:58:32 [Apache] You need to uninstall/disable/reconfigure the blocking application 19:58:32 [Apache] or reconfigure Apache and the Control Panel to listen on a different port 19:58:32 [Apache] Attempting to start Apache app... 19:58:32 [Apache] Status change detected: running 19:58:33 [Apache] Status change detected: stopped 19:58:33 [Apache] Error: Apache shutdown unexpectedly. 19:58:33 [Apache] This may be due to a blocked port, missing dependencies, 19:58:33 [Apache] improper privileges, a crash, or a shutdown by another method. 19:58:33 [Apache] Press the Logs button to view error logs and check 19:58:33 [Apache] the Windows Event Viewer for more clues 19:58:33 [Apache] copy and post this 19:58:33 [Apache] entire log window on the forums
that is my error message I have changed skype's port from using port 80 and also uninstalled IIS from microsoft I have only installed xampp on its own without wamp server so that they dont conflict.
I use Windows 7, running Apache VC10 in the XAMPP environment. It worked well, I am a newbie, it runned smoothly to programe a brief static page. Now I have everytime this logerror... I didn't change anything in the files and scripts of my apache folder...
[Wed Jan 22 21:12:15.178559 2014] [ssl:warn] [pid 3392:tid 264] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name [Wed Jan 22 21:12:15.272159 2014] [core:warn] [pid 3392:tid 264] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
I am determining the best local server solutions for my scenario: Windows XP Home SP2. And run the os CMS Typo3 locally.
Like most, I figured I'd have to install Apache, MySQL and phpMyAdmin one at a time. But it took me an hour just to find if this was possible for XP Home. And I am hesitant to go down the same frustrating road I see so many others have. I'd prefer to invest my time learning my CMS, not the server.
Then I see many helpful posts recommending either WAMP5 or XAMPP. Please, tell us what you prefer? Maybe you can tell us why (PLEASE include your OS). I looked all over for a discussion about it, and didn't find one. Here's one now for all to view and take from.
And the larger XAMPP 1.6.0a contains:Apache HTTPD 2.2.4, MySQL 5.0.33, PHP 5.2.1 + 4.4.5 + PEAR + Switch, Openssl 0.9.8d, phpMyAdmin 2.9.2, XAMPP Control Panel 2.4, Webalizer 2.01-10, Mercury Mail Transport System für Win32 und NetWare Systems v4.01a, FileZilla FTP Server 0.9.22, SQLite 2.8.15, ADODB 4.93a, Zend Optimizer 3.2.2, XAMPP Security.
I'm trying to install Joomla on my home server, and it requires mysql to have a password for security. Since nothing of my server is anywhere on the net, I never bothered to set a pass (yeah, I should have anyway).
Google led me to this article on the mysql forums, which worked up until it tried to initialize mysql (or whatever the command does, I'm guessing initialize). It's trying to look for the xampp folder that I had installed and uninstalled long before.
I have a xampp install on my Home PC(Windows) for testing scripts. I forgot the password for mysql as didn't use it for while. now Phpmyadmin won't connect.
I'm trying to set up Apache on CentOS 4. I'm using Apache 2.0 and it can't seem to access anything outside of the /var/www directory - it gives an Error 403.
I thought this would be down to SELinux but this is disabled. I've run the following command on the directory but with no luck:
I m newbie to apache server. I have created a web site using apache server with theURL... tutorial. I m able to access my web site on my ip address bt unable to access it using other ip of linux system. I m CentOS user. I can ping that ip with my ip. I have edited files as described in the tutorial.
I can't reach my website, I get a "corrupted content" error message in the browser.Looking into apache (version 2.4.7), I get
Code: ~$ apachectl -S AH00526: Syntax error on line 22 of /etc/apache2/sites-enabled/000-default.conf: SSLCertificateKeyFile: file '/etc/ssl/private/owncloud.key' does not exist or is empty Action '-S' failed.
However, I double checked that the file is in the appropriate location and does contain the key, so maybe apache has no permission. afaik, it doesn't run as root all the time - or only for a short time?
permissions for the key file are as follows:
Code: ~$ sudo ls -l /etc/ssl/private/owncloud.key -rw-r--r-- 1 root ben 1704 Sep 28 04:01 /etc/ssl/private/owncloud.key
, where ben is my normal user.
It was suggested to me on the httpd IRC channel that maybe apparmor was doing something wrong, but I don't know how to investigate that.
I have installed Apache 2.4.3, and PHP 5.4.5 64-bit, and I have installed PostgreSQL 9.2 64-bits under my new system windows 7 64 bits. Apache and PHP could work nicely, and PostgreSQL run fine too. However, PHP couldn't access the PostgreSQL. pg_connect(), and followed by echo select version(), didn't give any error. When PostgreSQL module was not loaded (because my php dir was d:php, but inside httpd.conf i type D:/PHP), I got message saying something like "undefined pg_connect()." I fixed it, but select version() or any other echo after pg_connect() didn't give any output.
i signed up for vps from vps.me and i got ssh credential i logged in ssh using token2shell but when i put my server ip "10.223.1.157" in google chorome but then it says unable to find even i am not able to access ftp through filezilla also
When a user enters the whole url to a file on the webserver he/she can view this file. I want to prevent this and only allow access to the files from within the application (under apache). How can I do that? I already tried:
<Directory /var/www/html/folder/files> order deny,allow allow from localhost </Directory>
This works BUT the file also isn't viewable from within the application anymore.
I recently installed Apache/2.0.64(win32)on my Windows 7 machine and am having a problem with external access. The installation appears to be good as it shows all services running and I can access a basic index.html file through 127.0.0.1
I have ruled out any router or firewall issues and am fairly sure the problem is with the httpd config. But the only changes I've made are to the NameServer and Listen directives, so I'm lost for an answer to the problem.
The NameServer is set to my actual IP address while the Listen one is set to my servers internal IP address, but I have tried switching them around with no success.
The other thing I don't know is if I need to have SQL and myPHP installed just to check basic functionality.
I made the idiotic move of not making a backup of the default configs and now I can't access my http website externally. ssl works fine, but I need http to work too.
I'm looking for how to deny an IP access to my server. Not just a particular site. I have several sites on my server. Do I need to put that denial in each and every .htaccess file? Is there some way I can specify an IP denial to everything anywhere on my server?
I have a lamp server setup with a couple of vhosts. Investigating the log files for a situation I found that it seems to be missing some entries. The access log contains a long list of files (images and css) requested by the client regarding a request to a page (having a specific url as referer), but the actual request is missing. The url called is an automatically generated url that should only be available as an unsubscribe link in emails send to a specific user, thus the use of it in the logs is limited
At the same time I can find log entries in our database that I am 99.9% sure can only originate from this specific URL being requested (never say never). These log entries are stamped just before all the auxiliary requests having the url as referer, but again the actual request is not to be found.
I have a local network with modem, router, and several computers either Cat5 to router or via wireless. Router is Cisco Linksys E4200. The internal IP for this router would be 192.168.1.1.One of the computers has Ubuntu Server 14.04 (32-bit) and Apache 2 installed, and this is hardwired (Cat5) to the router. This computer also has a STATIC IP address that we will call 192.168.1.100. my Windows 7 Ultimate computer, I can open a browser and type "192.168.1.100" and the Apache 2 Ubuntu Default Page will pop up telling me that "It works!".
I have the Apache server working since I can access from within my LAN.My problem is to get it to show me the same "It Works!" when I try to access from the Internet.I got my 'external IP' address by simply going to whatismyip.com, and I can also see it from within my router settings.
The next thing I did was to setup Port Forwarding inside the router, to point say 50505 to 192.168.1.100. I've tried lots of port numbers.I cannot see my Apache 2 Default page by typing in my browser "98.180.213.110:50505", for example. This assumes 98.180.213.110 is my external IP and 50505 is the port I am forwarding.
I've tried disabling the IP4 firewall within the router, and even the "anonymous" filter request setting.I can find my web-server via browser in-house, but I cannot access from my external IP as if I were at a different location.
I have an ubuntu Server install running the latest Apache. This is all running on a Virtualbox VM.
I have 3 sites configured. 2 of them are set-up with DNS point from the outside world and are working just fine.
When I go to domain1.com and domain2.com the right pages are displayed. The 3rd host is the default host and when I go to the local ip address 192.168.0.x of the server the correct folder is being displayed.
So all being well I wanted to run MediaWiki on that local default host. limiting access to people who are on the local subnet. Seems easy enough I will change the "allow from all" statement for that virtual to allow from 192.68.0.0/255.255.255.0 and add the deny.
But my issue is the the alias Alias /mediawiki /var/lib/mediawiki is being added to all 3 sites so domain1.com/mediawiki domain2.com/mediawiki are also displaying the wiki pages.
This alias was added in the /etc/mediawiki/apache.conf by the mediawiki install. The instructions I had were to then go in and uncomment to make it available.
I have a problem with my new server's setup. It's using a big RAID storage mounted to the main system. When it comes to shell everything is fine, I have access to the disk and files. Problems rise when I try to access the storage content from my php scripts (running on apache) - "Permission Denied" ...
Anyone knows where might be the problem?
I suppose it's because of using RAID but I'm sure it's doable.. somehow..
When I tried to use CLI mode it looks fine - PHP script can access RAID'ed folders when running like : php /var/www/html/filetest.php