Omgili - forum search, search forums  
  

Discussions about htaccess file

Displaying 1 - 10 out of 6,734 discussions.  
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
I have my functions in a file called functions.inc in my website. How can I edit the .htaccess file to deny users from viewing it by directly going to http://example.com/functions.inc
Started by on , 4 posts by 4 people.  
In both cases Apache will give a 404 error (file not found), which I find.
Access to specific file types I prefer something like: RewriteCond %{THE_REQUEST} ^\w+\ /include thing for .inc files.
I have a Joomla site www.siteA.com and another Joomla site www.siteA.com/siteB. I have a .htaccess -file at siteA, but not at siteB. Is it a security risk not to have a .htaccess -file at siteB?
Started by on , 5 posts by 5 people.  
Typically whoever wrote the main server configuration file didn't leave any major by accident, but....
Do you a .htaccess file.
Have nothing you want to change, then you don't need (and shouldn't have) an .htaccess file.
How can I grep for a certain string recursively in all .htaccess files? grep -r -n -H -I 'string' .htaccess doesn't seem to work. I'm on a GNU Linux system.
Started by on , 4 posts by 4 people.  
-name ".htaccess" -exec grep -r -n -H -I 'string' {} \; You -name ".htaccess" -exec grep....
Cd to a folder before the folders that store the htaccess $find .
Use the --include option: grep -rnHI 'pattern' --include=.htaccess .
Ask your Facebook Friends
Can I use htaccess to restrict access to my site and specify the username/password within the .htaccess, so I don't have to worry about password files?
Started by on , 3 posts by 3 people.  
See, the .htaccess....
Two main reasons.
It would not be that wise to have the users and passwords inside the .htaccess file (or the apache-config itself) for min.
It using the "AuthUserFile" directive in your .htaccess file.
I'm using Subversion for one of my PHP projects. I have two questions/issues: How are file permissions handled with Subversion? If I have a file that I CHMOD to 755, and I check that file into the repository, will it have the same permissions when it'...
Started by on , 5 posts by 5 people.  
.htaccess file You the .accessfile into repository, SVN will stop update and will mention that your own .htaccess file must is defined, the....
For e**x**ecutable flag set svn-property svn:executable.
Depending on his umask).
I'm using XAMPP to test a PHP script. Now, in the root of the folder I want to place a .htaccess file according to the requirements of the script. But Windows won't let me rename it to .htaccess . Is there any way to go around it? I'm using Windows 7 ...
Started by on , 6 posts by 6 people.  
So, rename to save the file as: ".htaccess or whatever the XAMPP setup....
Open up the httpd.conf the filename? Those quotes would then be removed by Windows .
One thing you could do is use another file as the .htaccess file.
On my PHP site I would like to sometimes show a maintenance page to users. I know I can do this in PHP very easily but I would rather use an htaccess file, I think performance may be better this way. So what I am wanting to know is can I modify a htaccess...
Started by on , 3 posts by 3 people.  
I accomplish what you're trying to do using....
You'll want to open it in append mode things.
Maintenance on the app itself it is easy enough to temporarily rename a file into .htaccess'sYou can use fopen to open and fwrite to write to a file.
I have a directory on my webserver. It does not have an index page. so when u access the directory via a web browser it lists the files in it. Now i want to create a htaccess file that can block the directory listing so that when you access it via the...
Started by on , 4 posts by 4 people.  
You can turn off the file listing for a particular directory in the directory's .htaccess </Files> In the .htaccess file in your directory just put Options -Indexes As stated before with Options -Indexes OR You could....
I created a test directory called "rewrite" and put a .htaccess file inside with a rewrite rule. When I go to that URL through my browser I get a 500 Internal Server Error. So I thought it was my rewrite syntax and tried a few changes, same thing. Then...
Started by on , 3 posts by 3 people.  
I'm guessing that your .htaccess file.
That's one point off for Notepad++.
When I opened up Putty and edited the .htaccess file server-side, it worked.
Well, I've never had this issue before, but...
Hello, I'm looking for a Linux command to go through all the directories on my server and find all .htaccess files. The output would be a list of all those files with full path, creation/modification date and filesize.
Started by on , 5 posts by 5 people.  
Wikipedia has an article about find , which also links to its... .
Find -name .htaccess find / -name ".htaccess" -print Replace / with the root folder you like to start searching, in case you don't want to search the whole file system.
Page: 1   2   3   4   5   6   7   8   9   10  

Related Message Boards & Forums

  • Stack Overflow
  • Server Fault
  • Super User
Related Searches
htaccess auto_prepend_file exclusions    free web hosting that support htaccess files    htaccess hide multiple files   
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost