informatin about .htaccess file
why we need this file ?
how it is helpful of us?
where it is located?
what is this file for?
i have seen many times this file is
located in projects.
reply me with full description
.htaccess
Page 1 of 16 Replies - 959 Views - Last Post: 26 September 2008 - 05:11 PM
Replies To: .htaccess
#2
Re: .htaccess
Posted 19 September 2008 - 03:32 PM
informatin about .htaccess file
why we need this file ? you don't. unless you want to change apache settings for a directory
how it is helpful of us? you can change apache settings for a directory
where it is located? in the root of the directory its changing. Any files in or below its location receive its changes
what is this file for? read the last two answers
i have seen many times this file is
located in projects.
reply me with full description
alternatively, first google search for "apache htaccess"
http://httpd.apache....o/htaccess.html
why we need this file ? you don't. unless you want to change apache settings for a directory
how it is helpful of us? you can change apache settings for a directory
where it is located? in the root of the directory its changing. Any files in or below its location receive its changes
what is this file for? read the last two answers
i have seen many times this file is
located in projects.
reply me with full description
alternatively, first google search for "apache htaccess"
http://httpd.apache....o/htaccess.html
#3
Re: .htaccess
Posted 19 September 2008 - 08:14 PM
.htaccess files are useful for many things. But one aspect in particular is the ability to rewrite URLs. This is good for search engine optimization (SEO) so your website's rank can be higher on the search engine and get you more hits. A .htaccess file can turn something like this:
into this
You can read more on using this feature, known as mod_rewrite, at PsychoCoder's mod_rewrite PHP snippet
http://www.test.com/article.php?name=acoolarticle
into this
http://www.test.com/article/acoolarticle
You can read more on using this feature, known as mod_rewrite, at PsychoCoder's mod_rewrite PHP snippet
#4
Re: .htaccess
Posted 25 September 2008 - 03:55 PM
i have read about the htaccess file but in have installed the appache web server
but not able to locate the htaccess file.
can anyone tell me the full path of this file.
----------------------------------------
but not able to locate the htaccess file.
can anyone tell me the full path of this file.
----------------------------------------
#5
Re: .htaccess
Posted 26 September 2008 - 01:23 AM
You can put the .htaccess file in every single directory of files of your web server. I will be enabled on that directory and down the file tree.
Bare in mind the file might be hiddden, or does not exist already. You might need to create the file in your webroot (c:\htdocs or /var/www)
Bare in mind the file might be hiddden, or does not exist already. You might need to create the file in your webroot (c:\htdocs or /var/www)
#6
Re: .htaccess
Posted 26 September 2008 - 01:33 AM
dreamincodehamza, on 25 Sep, 2008 - 06:55 PM, said:
i have read about the htaccess file but in have installed the appache web server
& that's exactly where this topic belongs, in Web Servers & Hosting, not in PHP
dreamincodehamza, on 19 Sep, 2008 - 06:24 PM, said:
informatin about .htaccess file
Try here...
#7
Re: .htaccess
Posted 26 September 2008 - 05:11 PM
okay let me read it first about htaccess
okay let me read it first about htaccess.
and tell me then if there is more then two
htaccess file in the webserver then which
one will be executed.
and
any fix or particular directory where
webserver look for this file.
okay let me read it first about htaccess.
and tell me then if there is more then two
htaccess file in the webserver then which
one will be executed.
and
any fix or particular directory where
webserver look for this file.
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote






|