Tag Info

Hot answers tagged

13

Normally, you do not need any server just to view raw HTML files, even if they reference other files, CSS and JavaScript. Simply double click on any file and it will open with the default browser of your machine from the local file system. However you may need to check if your static content has no absolute references to other files or other resources ...


11

Since your site is static, one solution is to use CloudFlare, because it can still serve cached pages if your site goes down (with proper configuration). It will be transparent if there is an issue. And keep a copy of your site on your laptop or on a memory stick if you can't use your laptop. If all goes wrong, you will still able to finish your ...


5

If the website is HTML and CSS only, You don't need a host. Just throw it on the USB stick that that you're going to use for the redundant WAMP environment and run it from whatever machine you plug it in to. If you're worried about losing the USB stick, the web host would be a suitable backup.


5

You can simply open the internet page locally and display it in your browser. If you even want to show a different domain name, you can use XAMPP to open a local webserver. Host your website there and point the domain to your localhost on your maschine by appending the following line to your hosts file on your system: 127.0.0.1 ...


4

Looks like a corrupted installation of phpmyadmin. Make sure your permissions are set correctly. Also consider reinstalling phpmyadmin using the latest stable build.


4

StartCom issues free signed SSL certificates. You can create and sign your own certificates from any computer with openssl. This is not a programming question and doesn't belong on StackOverflow.


4

Activate mod_rewrite, and put this in a .htaccess file or a <Directory> directive: RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteCond %{REQUEST_URI} !^apps/ RewriteRule (.*) apps/$1 What it does: The first three lines check if the requested URI refers to an actually existing file, ...


4

If you are using Git for version control of your site... (not to judge... but you kinda should be if it's an important project!) You can host your entire website on Github's "project pages". (aka Github Pages) It's really simple to just git push your site code there. Basically you push to a branch called gh-pages and your site will automatically publish, ...


4

You could host the static content using Amazon S3. See http://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html for a guide as to how. Basically you sign up for an AWS account, upload your website into S3, and can then access it via a url like <bucket-name>.s3-website-<AWS-region>.amazonaws.com. You can also create a custom domain for ...


3

When you type an URL in a browser, unless you specify the port explicitly, the browser will assume port 80 (unless the path is HTTPS, in which case port 443 is assumed). Technically any URL can be rewritten to include :80 port directive. It is just redundant. On the server side there can only be one service listening at port 80. So, no, you can not have ...


3

I found out my own answer to my question.... The problem was related to the base_url settings. I correct this problem by switching from: http://localhost/project_folder to http://my_ip/project_folder This was the reason why only resources were loading on my machine and not other machines. Thanks everyone who viewed my question and those who tried to ...


3

XAMPP is "Apache, MySQL, PHP (+PHPMyAdmin), Perl" and is just a software bundle containing the basic programs for running a webserver stack. You could find this helpful: http://mina.apache.org/vysper/ which is also by the Apache group. It's an entirely different service (not included in XAMPP) but there's no reason you can't run it on the same server.


3

So many overly-complicated answers. The website is HTML and CSS only (no DB), and currently resides on my shared hosting account. You do not need Apache You do not need XAMP (or similar) You do not need cloudflare, dropbox or any other 3rd-party service. (github? for a presentation? please.) All you need is a portable storage device. USB key, external ...


2

Given the configuration you describe I'm sort of surprised that you apache is starting. Try configuring your hosts file like this 127.0.0.1 localhost myawesomeproject.com then tidy up your vhosts like this <VirtualHost *:80> DocumentRoot "C:\xampp\htdocs" ServerName localhost </VirtualHost> <VirtualHost *:80> ServerAdmin ...


2

I realise this is an old post, but others with the same problem might find the solution useful. After spending ages with various fixes to session.inc.php I finally had a eureka moment and thought to check the PHP session save directory was correct and writeable. Setting NTFS permissions to Everyone on the folder has fixed it for me.. Doh.


2

It may have to do with how XAMP is configured with your local server and how routing is setup to send web traffic to your server. It's actually common to see bots scanning your server for vulnerabilities and common scripts such as phpMyAdmin. On linux I would add them to hosts.deny, in apache you can ban them with your .htaccess file. If the attacks are ...


2

First; add port to your ServerName < VirtualHost *:80 > DocumentRoot C:/server/htdocs ServerName localhost:80 < /VirtualHost > Second Chance, give a different name to ServerName and add the ServerName to the windows hosts file, this is located in “C:\windows\system32\drivers\etc\hosts”. Open the file in Notepad and simply add; ...


2

Sadly it is not possible since this is controlled by the browsers. By default browsers will connect to port 80 and anything else needs to be added in the URL. There is 3 solutions I can think of what could work but ultimately it will not work for public users since some coding on the clients machines would need to be changed. Host File Method You could ...


2

Are you using SSL? Have you tried to Fix this error by updating the configuration to force close the SSL service? If you edit the file httpd.conf at /xampp/Apache/conf and comment out the line: #LoadModule ssl_module modules/mod_ssl.so Try to Start Apache again and see if it worked. The source of this issue can occasionally be another service listening ...


2

You shouldn't have a problem using your working directory as the web root folder since apache2 and subversion are two separate services running each can use the same folder. I normally use rsync to copy from the trunk to web root. Check your permissions and if there's an htaccess file in the WD


1

I think you'll find the problem is your VirtualHost declaration. Replace: <VirtualHost mydomain.info> <VirtualHost localhost> With: <VirtualHost *:80> You also don't need the ServerAlias lines unless you want to direct multiple domains to the same VirtualHost More info: http://httpd.apache.org/docs/current/vhosts/name-based.html


1

Or, big or here, you could work everything off of FTP. This may or may not provide you with what you need, but your reasoning behind wanting to bring your files/databases to multiple servers on multiple platforms was not explained. Here's an example: At my home I have my Windows PC. At work I have my OS X PC. XAMPP is installed on Windows. I have ...


1

Second Fiasco Labs. You domain name doesnt seem to be registered anywhere. You will first have to register that domain before someone can see it from the outside world. A work around could be if you made the domains IP your IP address and then you can send the IP address to your friend.


1

First, make sure you have mod_proxy* enabled (there are multiple proxy modules, so enable all of them for simplicity). Then copy this into your main configuration file: <VirtualHost *:80> # Where 'ServerName' is the domain of this site. ServerName joomla-one.domain.org ProxyRequests Off ProxyPreserveHost On ...


1

You must Read Apache docs Understand Apache docs Select better-suited module for virtual-hosts for your needs (from at least two) Enable selected module in LoadModule Restart Apache after editing configs


1

Actually you can build a website via notepad apps in tablets and NO there is not a XAMPP app for tablets except windows 8 tablets. BUT there are other types of server apps like XAMPP for android tablets.


1

My ISP optimum online blocks port 25 and port 80 for regular users. They claim lots of viruses and malware are spread on these ports. Spreading propaganda IMO since 99% of websites run on port 80. Well I upgraded to Boost which lets me use those ports. Here are two discussions on Mercury and ISP's blocking port 25 ...


1

This may get complicated depending on your ISP. If your ISP hasn't blocked port 80 then it is as simple as making sure that your router forwards all requests on port 80 to your computers internal ip, then just going to whatsmyip.org then having him type in http:// followed by your IP address, then of course followed by the subdirectory of XAMPP. Also, ...



Only top voted, non community-wiki answers of a minimum length are eligible