I got a strange problem, which I haven’t encountered yet. When I change the DocumentRoot AND RESTART the server the change is not applied. It worked before, but suddenly it’s not. DocumentRoot “F:/xampp/htdocs/www/pct/” I’am also sure to edit the right file: F:\xampp\apache\conf\httpd.conf Thanks for any suggestions! Asked by Pete St. Are you sure that you are editing the DocumentRoot for the Virtual Host that you are using? Ensure that the DocumentRoot directive is under the [...]Continue Reading »
I made a PHP/MySQL app in my desktop that I access using Apache vhosts (XAMPP). In my host file I added 127.0.0.1 myapp so all I have to type in my browser is http://myapp. How can I access this same webpage but from another computer in the same wifi network? I’ve also already allowed port 80 on my firewall for my subnet based on this post. This is my first time doing this so I’m [...]Continue Reading »
I’m trying to make my PC become a webserver using tomcat. The last time I did it was 6 months ago, and I totally did it. However, I couldn’t do it this time. my steps are: set static IP by go to Local area network properties and go to TCP/IP 4, check use the following IP address and input : open browser and type 192.168.1.1 to access DSL router, to NAT and input like following [...]Continue Reading »
I’ve configured xampp and firewall so I can access desktop pc’s localhost over my local network through desktop pc’s IP. But I’m not able to access auctual projects: I can access: http://192.168.x.x/xampp or http://192.168.x.x/phpMyAdmin But I cannot access: http://192.168.x.x/myWebsite/ I get an error: Server errorWe’re sorry! The server encountered an internal error and was unable to complete your request. Please try again later.error 500 Asked by Peter O. The web server in XAMP answered with [...]Continue Reading »
I have build a site working on my localhost using xampp on windows7. Now, I my colleagues want to access and use that site in our small office. I tried to access the site using IP address of my own system. but some urls are redirecting to localhost… and there is no localhost at other computers in my office. the problem is the site is built with CodeIgniter framework so it containes a constant site_url [...]Continue Reading »
I have ProFTPD set up so that I can remotely upload new php files and suchlike to my htdocs on my server. That’s all fine, but I would like to jail the ‘nobody’ (No write, Read/Download only) user into a subdirectory (htdocs/ftp) so that any users can’t have fun reading my mySQL connection scripts, which are in the htdocs folder. I don’t want to set the DefaultRoot to /ftp, as then I can’t use FTP [...]Continue Reading »
I’m running XAMPP on Windows 7. error_log(“test”) doesn’t output to the my error_log specified in my vhost config (although the access log specified in the same config) does work. Any ideas? <VirtualHost *:80> DocumentRoot “c:\Users\User\Example” ServerName example.local CustomLog “C:\Users\User\Program\logs\local_access.log” combined ErrorLog “C:\Users\User\Program\logs\local_error.log” <Directory “C:\Users\User\Program”> Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost> Asked by Emile I don’t use XAMPP a lot, but a quick look at the included php.ini file (php/php.ini) [...]Continue Reading »
I cannot start apache on xampp, it says Busy… I have googled this many times and I have tried the following solutions: Skype no longer uses port 80/443 Teamviewer no longer uses port 80/443 Adding the NoRun key to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP (Solution found here) But none of these work, when I visit localhost on a browser it will load but just give a blank page, even thought apache isn’t started. I have also run netstat -ano [...]Continue Reading »
I am wondering, having my system currently installed with XAMPP, is it okay if I will install another Apache, PHP, mySQL (separate installers)? Asked by kingdm XAMPP is essentially self contained – the files will not interfere with the separate installations you mention (I’ve done it – it works fine). Typically with XAMPP, all the required files are within the single parent directory. With the separate installations, each will reside in its own folder – [...]Continue Reading »
For dev purposes, is it better to install XAMPP or Apache MySQL & PHP from the repository? Asked by chrism2671 A couple of advantages of using XAMPP for development over a true LAMP install: You can start and stop the whole webserver+database stack with one command. XAMPP is portable so you can carry it around on a thumb drive. The security settings are strict by default, nobody but you will be able to access the [...]Continue Reading »
- SCP transfer only modified files
- How can I automate clearing and resetting a Linux user’s home directory to a default?
- Cron expression that runs every 5 minutes from 1:30 am – 6:00 am [duplicate]
- Understanding redundant power supplies
- Is there a way for administrators to disable users from installing Firefox extensions?