Apache, Windows, .htaccess, and more
I have a PHP page called index_.php. It takes one parameter tpl, which is html file. So it takes something like index_.php?page.01.html. It then parses page.01.html and then displays it. Now I want to be able to use nice, simple urls like http://www.ee.com/issue2/page.01.html. I've tried to use an...
to specify the PHP include path need help.
php_value include_path ...
How to use this if you have some sample with all code.
Is there a way to specify certain ip's to circumvent basic htaccess authentication?
I'm wanting it so that if someone from the internet accesses my site, they have to enter a password, but if i access it from localhost, it doesn't.
I want to remove the www from the beginning of my URLS. My website is at http://www.nticompassinc.com
http://www.nticompassinc.com/info.php works, but if I enter http://nticompassinc.com/info.php it redirects to http://www.nticompassinc.com
Why does this happen?
My DNS A (NAME) settings...
Hello, Apache logs information about each request. We can also log the process ID and the time taken to service this request. But is there any way to log the cpu time for each process as well?
Please help. I am trying to implement a part in my website, where only registered members can view the pages. I need the code:confused: for register and login. Also if possible: pay here - (paypal is ok).
Many many thanks :confused:
I should know how to do this, unfortunately I lost my documentation.
What I want is for the default localhost to go to C:/Localserver/Homepage and for localhost:8080 to go to G:/Pages. How do I do this?
I don't feel comfortable having my CPanel login page exposed and therefore want to implement ".htaccess" style security, like when you protect your directory using CPanel's feature.
Can anyone help me in this matter? thanks.
I want to remove the www from the beginning of my URLs.
http://www.nticompassinc.com/info.php works, but http://nticompassinc.com/info.php redirects to http://www.nticompassinc.com
Why does this happen? I have the DNS A records @ and www set to my websever's IP address.
My problem is that:
I want that
webpage or something read my urls after # mark
anything in url stays still but
MAIN# or # sth with # comes before my url name.com/index.php?p=stg
I'm not sure if this goes in the PHP section, so if someone knows where I should post this, please feel free to tell me.
I am trying to change my 'ugly' URLs into 'pretty' URLs. To do this I am using .htaccess and mod_rewrite.
What I want to accomplish is change all of my links that...
Hi, I have a general theoretical question about storing many images on a server. Is it faster/slower if many files are stored in the same directory or is it faster/better if the files are stores in many subdirectories? also I should note that I am referring to many files, not just 100 or 1000....
Hello, my first post to this site and apologize if this is in wrong area.
I have a site up and running with XAMPP on a WinXP pro machine without issues. What I am trying to do is get my second site I am working on running from same computer and access both sites through the internet. I been...
I have a shell script below that produces the following error:
-bash: rotateLogs: command not found
Can you tell me what might be the problem? Thanks.
cat access_log > access_log.prior-month ; cat /dev/null > access_log
cat error_log >...
Hello all. On my web server (Linux VPS), I have a quite large image folder with about 4000 files that are about 80MB. What is the best way to download all files to my computer?
FTP trunctates the output to 2000 files, and I don't think it would be very efficient anyway. I seem to recall using a...
i want www.domain.com is directed to the www.domain.com/forum.php
usually i use this htaccess rule to define default homepage file
but in one of my website, above rule is conflict with the other htaccess
I have recently been trying to upload a website onto an apache server. When I upload the site, i still see the apache test page, which says 'You may now add content to the directory /var/www/html/'
I did that but now, when i go to my website, www.example.com, i still see the apache test...
I just downloaded the latest version of the Wamp Server... called "Wamp Server" to replace my old "Wamp5". I followed the instructions... I saved my htdocs and wrote down my settings, and then I uninstalled my old Wamp5. Installed my new WampServer.
Bare in mind that Wamp5 worked just fine, and...
I'm confused.. I mean, the whole idea of apache and xampp has me slightly confused, but i do strongly feel that I am working my way through this..
I have encountered a problem that i just can not answer by reading, as ALL answers point to changing an htaccess file.
The thing is, i have a...
Im a bit new to apache server and more used to IIS but trying to convert but finding it really hard
Im trying to get virtual hosts working on windows vista, Im using apache 2.2.11, apache is working becuase I get the 'It Works' Message when I go to localhost
I have this in my...
What might the lines look like in the httpd.conf file to:
(a) prevent a visitor from seeing a directory listing of a particular directory on the server, and
(b) redirect the visitor to the homepage of the site when attempting to view the directory
I currently use a meta redirect inside a...
I've been shopping around for a web server for my website. Right now, it is a 10-year old IBM desktop computer running a dynamic website and its just a hobby site for some of my friends and colleagues.
I want to open it up and get some good traffic coming to it, with a server that can...
What might the .htaccess file look like in the /images/ directory, for example, on a Linux/Apache server to:
(a) prevent visitors from seeing a directory list of the /images/ directory
(b) when accessing the /images/ directory via 'http://example.com/images/', or...
Real quick and simple question. On a Linux/Apache Web Server, where is the best and most efficient place to handle 404 Errors? Would it be in the httpd.conf file, a .htaccess file or some other place?
hi, not sure where to put this so plz move if required.
Can anyone inform me if i use a web host that allows email address imap will this allow me to share a mail box in the way that Group e-mail access is done using outlook ?
I.e i set up the accounts to access the mail box on 3 PC's then...
There are currently 2 users browsing this forum. (0 members & 2 guests)
Use this control to limit the display of threads to those newer than the specified time frame.
Allows you to choose the data by which the thread list will be sorted.
Order threads in...
Note: when sorting by date, 'descending order' will show the newest results first.