Hide Files/directories On Apache
Jan 20, 2008how can i hide all files and directories in public_html so when using apps suck Flash Get Site Explorere and similar software it will not show any file or directories in public_html.
View 5 Replieshow can i hide all files and directories in public_html so when using apps suck Flash Get Site Explorere and similar software it will not show any file or directories in public_html.
View 5 RepliesHow to hide from our clients (end users: Plesk customers/resellers) any message related to Apache configuration files failed, like this one:
"Error: Web server configuration for some of your domains may be inconsistent. Please contact server administrator to resolve the problem."
We already see the message within Plesk admin interface, so our customers don't really need to see that, as there's nothing they can do for that.
when I FTP into my server, I can't see the files files and folders starting with dots, such as .thumbs or .htaccess. How do I configure my server (through SSH) so that these files are visible rather than hidden? I'm running Fedora on my server.
View 2 Replies View Relatedis it possible to browse all the files and directories on a website even if it has a index page? If so how do you do that?
View 4 Replies View RelatedPlesk12 on IIS8.5/Windows2012r2.
Migrating existing IIS websites into Plesk we are creating new clean websites and then copying the existing code across into the httpdocs directory.
Should we leave all the documents and file structures created by Plesk in place when we do this OR should we delete everything in the httpdocs directory and copy our code into here?
i m using xampp on window. how to hide port on url?
View 5 Replies View RelatedI have a website and i am trying to have a specific folder be able to list if u go to [url]
Anyone know how i can do this?
I thought it was something to do with the .htaccess but i cant seem to find anything for it.
I have been trying to get password protected directories working on my Linode server. It works / behaves in a desktop browser somewhat but not like I am used to with hostmonster. Also for some reason my phone (windows phone just loads the page in the protected directory without prompting for a password. So I imagine there is some security thing I am missing that none of the info I have found searching talks about. Here is what I have done. I have created a password file and set the permissions correctly on that and it works on the desktop. However when I close the browser or open a private browsing session I am never prompted for a password again. It just feels insecure. Plus my windows phone just loads the page with no prompt. With hostmonster if I closed the browser window it would ask me for the username and password again. I also tested hostmonster directory passwords on my phone and it prompts for a username/password.
Here is what I have added to the apache2.conf file. The rest is pretty much default. There is no .htaccess file for that directory.
<Directory "/var/www/protected">
AllowOverride All
AuthType basic
AuthName "Enter Login"
AuthUserFile /etc/htpasswd/.htpasswd
Require valid-user
Order deny,allow
Allow from user1
</Directory>
It may be worth noting that I have two virtual sites / domain names running on this server at the moment however the one that is being used for this is the primary domain name.
OS: Debian 7.3
Apache 2.2.22
We have a website running on Apache ver 2.2.3.
A couple of directories on the website need authentication against LDAP. The setup has been working for many years and all of a sudden is giving some issues.
The page asks for authentication and once login details are entered, either it throws an error "Page has moved" or "Please refresh your browser or reload the page".
As far as I am aware no configuration has been changed for LDAP or for Apache. The website runs on Windows Server 2003.
I am very much new to Apache and cannot seem to find any errors logged.
I'm trying to get multiple GUN groups to have access to certain directories.
Access to transport, delete
When you go to access transport or delete you get prompted for user name and password when entered you get in. However when I add GUNtest10 in the required ldap group. It doesnt accept your user name and password.
######ACL Directives######
LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
<Directory /bills/>
AuthType Basic
AuthBasicProvider ldap
AuthName "1Login with your Windows ID and password"
[Code]....
I want to copy whole directories about 20gb to another server across the world.
If I type "mput *" it will say "not a plain file" for directories.
How do you move an entire site, I don't want to achive and move because it is big.
I want hide the directory of my site:
[url]
How to hide the content list there?
i was checking this [url] does any1 know how can i hide my domain & Hosting companies names? i don't want any1 know what hosting i am using
View 14 Replies View RelatedI've a windows 2003 server, I need to hide this server IP, that's mean I need no one can know IP of my server.
Service running on servrer:
- DNS
- IIS
- DigiChat
Is there a way you can hide from the whois lookups how many site's you have hosted on your server? Like, for the reverse IP, usually it'll mention how many sites are hosted on the server when you do a whois lookup.
Is there a way to prevent it from doing that?
How Can i Hide My Server Type
And writing Secureb By ....
And how Can i Hide uname -a: Linux server.xxxx.net 2.6.18-ovz028stab053.14-enterprise #1 SMP Mon Jun 2 18:25:30 MSD
2008 i686
From Php Shell Like c99
i do some way to hide it But I cant hide it from php shell
The problem is that i want to hide the php extension from the visitor so that no one knows what scripting language lies beneath..
If I use the following solution {
I think I should write snippets of php codes inside html files.. so i want apache to go through each html file to see if there are php code or not..
I write the following mime types with cpanel:
application/x-httpd-php .php .adp
application/x-httpd-php .php .htm
application/x-httpd-php .adp
}
Then {
Error appears when I go to any page in the site "Internat Server Error"
}
Else if {
I can use .htaccess to do the same effect in a particular directory
}
Then {
The same error appears "Internal Server Error"
}
Else {
What can I do?
}
messages such as
Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.7a FrontPage/5.0.2.2635 mod_bwlimited/1.4 mod_jk/1.2.25 mod_mono/1.2.4 mod_auth_passthrough/2.1 PHP/5.2.4
when you go to browse a folder with no index file..
is there away to remove this?
I want to hide my NS records on WHOIS lookup, or show a fake or something so that no one can find me, Is it possible,
View 5 Replies View RelatedOn most servers using a vhost you can make a subdomain point to a subdirectory.
so www.host.com/stuff would be stuff.host.com
That works fine for me. I now want to avoid people being to access the www.host.com/stuff and always have to go via the subdomain.
If I create a rewrite rule I'll get an infinite loop as the subdomain and subdirectory will keep on going to each other.
What is the proper way of disabling access via the subdirectory?
to open EML files on apache webserver, actually when I load an eml (outlook email message) by using an URL, it shows the email code, it is not pasing it correctly.
What libraries (apache or system) do I need installed to parse this kind of files?
Im using apache 2.0.6.3, php 5.2.6 and RHE 5.2
Yesterday I was told by my hosting provider that my machine was at kernel panic, so they restarted it and I restarted my webserver (Apache).
I created a sub folder as I wanted to install a PHP script, so I created the folder using FTP and uploaded all of the script files.
The problem is, when I now visit that URL, my browser is asking me to download the .php file instead of the webserver executing it:
[url]
My web host said this:
it sounds like you aren't loading your php module library in your apache.conf and/or not associating the .php extension.
log file for one of our accounts.
I going to /usr/local/apche/domlogs and but in this folder I can found logs for today only.
How can I found previous log files?
My server is with Centos OS. I have a cache directory which has tons of scrap files. I am unable to delete it. rm -rf dirname gives an error.Is there any way to remove this directory quickly.
View 6 Replies View Relatedhow can i stop php and mysql errors from being displayed on a live site. I'd rather just check the error log than have the errors displayed to all users.
View 4 Replies View RelatedI have a dedicated server using one of my domain as the nameserver; basically ns1.mydomains.com / ns2.mydomains.com
Lately my sites are getting hacked and want to use DNS nameserver provided by the registrar, eNom to hide my domains. For example, if I use dns1.name-services.com/dns2.name-services.com or ns1.domaincontrol.com (GoDaddy), it will be harder for people to track of what domains I own, etc.
Once I change the nameservers to dns1.name-services.com, what do I need to do on the dedicated server/WHM side? A records, CNAME, MX records?