Setting up a block, for this area is under construction.
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Setting up a block, for this area is under construction.
Don't know if I phrased that quite right.
Anyway, here's the deal: I want to shut off a portion of the company's web site; just one directory, for a few hours. Let's call it website.net/foo. For those few hours, anyone who fires up a web browser and mosies on over to website.net/foo will be redirected to a page that says something like "We're sorry. This page is temporarily undergoing some maintenance. Please check back later." The goal is that people won't see the contents of the page getting all messed up and write in with complaints and such.
You could also re-name the index file to something else and you could stick up an "Under Construction" page as your index.html or .php or whatever your index file it is. Then when your are done, just delete ther under construction page and rename the updated index file back to index.html/php or whatever.
But it is iffy to update a live site, you could easily set up a testing server, sync all of the files and then make your updates on your testing server. When you are done, you can upload updated files to the live server.
Originally posted by digitalgravy You could also re-name the index file to something else and you could stick up an "Under Construction" page as your index.html or .php or whatever your index file it is. Then when your are done, just delete ther under construction page and rename the updated index file back to index.html/php or whatever.
But it is iffy to update a live site, you could easily set up a testing server, sync all of the files and then make your updates on your testing server. When you are done, you can upload updated files to the live server.
Hope this helps.
Yep, development server is firmly in place. All the modifications will be happening there.
Actually, I did something similar to your suggestion, in that I moved the index file elsewhere, set up a symbolic link by the same name that points to the under construction page, and will move the index file back afterwards.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.