LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-12-2019, 08:01 PM   #1
mia_tech
Member
 
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 233

Rep: Reputation: 16
How to password protect a webpage in godaddy


Hello all. It's been a while. I have a question and is about web management. I have a web application hosted on GoDaddy. Share hosting. And I want secure the entry point to the app which is index.html. I have tried .htaccess but it doesn't work. The app is inside a directory which is a subdirectory of a WordPress installation. I don't know if this matters. But every time I use .htaccess WordPress takes over and displays "page error" has anyone done something like this?
 
Old 02-13-2019, 02:45 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,471

Rep: Reputation: 1755Reputation: 1755Reputation: 1755Reputation: 1755Reputation: 1755Reputation: 1755Reputation: 1755Reputation: 1755Reputation: 1755Reputation: 1755Reputation: 1755
Quote:
Originally Posted by mia_tech View Post
Hello all. It's been a while. I have a question and is about web management. I have a web application hosted on GoDaddy. Share hosting. And I want secure the entry point to the app which is index.html. I have tried .htaccess but it doesn't work. The app is inside a directory which is a subdirectory of a WordPress installation. I don't know if this matters. But every time I use .htaccess WordPress takes over and displays "page error" has anyone done something like this?
I don't use WP, but this looks promising.

Regards
 
Old 02-13-2019, 08:23 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 14,838
Blog Entries: 25

Rep: Reputation: 4166Reputation: 4166Reputation: 4166Reputation: 4166Reputation: 4166Reputation: 4166Reputation: 4166Reputation: 4166Reputation: 4166Reputation: 4166Reputation: 4166
In WordPress, you can make a page password-protected. https://en.support.wordpress.com/pages/page-visibility/
 
Old 02-14-2019, 01:36 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 11,461
Blog Entries: 8

Rep: Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991Reputation: 2991
Quote:
Originally Posted by mia_tech View Post
I want secure the entry point to the app which is index.html. I have tried .htaccess but it doesn't work. The app is inside a directory which is a subdirectory of a WordPress installation. I don't know if this matters. But every time I use .htaccess WordPress takes over and displays "page error" has anyone done something like this?
where did you put the .htaccess, what does it contain, has there been one before that you just added sth to or diud you create a new one?
are you saying .htaccess does not work at all (possible)?
or can you make some .htaccess stuff work, just not the password protection (called simple auth iirc)?
it should be near-trivial to protect the directory and all its subdirectories.
 
Old 02-14-2019, 03:14 PM   #5
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_10{.0|.1|.2}
Posts: 5,069
Blog Entries: 11

Rep: Reputation: 3011Reputation: 3011Reputation: 3011Reputation: 3011Reputation: 3011Reputation: 3011Reputation: 3011Reputation: 3011Reputation: 3011Reputation: 3011Reputation: 3011
Quote:
Originally Posted by mia_tech View Post
Hello all. It's been a while. I have a question and is about web management. I have a web application hosted on GoDaddy. Share hosting. And I want secure the entry point to the app which is index.html. I have tried .htaccess but it doesn't work. The app is inside a directory which is a subdirectory of a WordPress installation. I don't know if this matters. But every time I use .htaccess WordPress takes over and displays "page error" has anyone done something like this?
"Doesn't work", does not tell us anything at all about why it may not be working.

The links provided by others most likely contain information helpful to you, in particular the WP links.

If your problem is not yet solved and you still need help, please provide a more complete description of what you have tried, the contents and location of your .htaccess and the details of the results.

Please review the Site FAQ for guidance in posting your questions and general forum usage. Especially, read the link in that page, How To Ask Questions The Smart Way. The more effort you put into understanding your problem and framing your questions, the better others can help!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Embrace, extend, and protect? Microsoft joins the Open Invention Network to 'protect Linux and open source' LXer Syndicated Linux News 0 10-11-2018 12:21 AM
webpage in webpage? kalleanka Programming 6 06-07-2009 04:13 PM
LXer: Godaddy.com to Support Open Source Web Builder, Ruby on Rails LXer Syndicated Linux News 0 04-22-2006 08:54 PM
GoDaddy.com..... BFEINZIMER Linux - Security 2 08-29-2005 02:19 AM
DNS and godaddy and comcast/attbi jqcaducifer Linux - Networking 4 08-10-2003 02:25 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration