Tagged Questions
1
vote
1answer
20 views
Set the “servername” directive globally to suppress this message
I am setting up PHP for the first time and I am getting this error from the Apache server:
Set the "servername" directive globally to suppress this message.
This is the content of my httpd.conf ...
1
vote
1answer
21 views
Redirecting previous domain subfolder links
I've recently bought a domain that was unregistered. After looking in Google webmaster tools, Google is trying to crawl random pages that don't exist. Turns out it did have a previous owner.
The ...
1
vote
2answers
72 views
Change name of audio file for download
I have some mp3 files which are named "my-audio.mp3" but now the client wants the visitor to be able to download and save these files to their desktop. He doesn't like the name with the hyphen and ...
2
votes
0answers
48 views
How many connection can my website have? [closed]
As the traffic increased my website hangs quite regularly. The page visit is now averaging 50k per day.
The static page loads fine, but when the page has mysql request it takes too much time to ...
0
votes
2answers
43 views
mod_rewrite issue, won't work when links contain “-”
I've been looking into mod_rewrite for my simple PHP CMS for a couple of days now and I found a rule that was supposed to work for me:
RewriteRule ^(\w+)/?$ view_post.php?url=$1
This is supposed to ...
0
votes
0answers
49 views
How to improve overall site performance/security? [closed]
I use PHP and am avid in my development using that language. What means can I use that will improve the performance of my PHP site, and bolster its security?
2
votes
1answer
66 views
How to find data usage of a user on my website?
I have a website (project) where users get logged in, do their work and then they log out.
I need to build a report that displays how much each person has used of data. (bandwith, how much was ...
3
votes
3answers
330 views
using .htaccess to redirect .asp to .php?
Ahoy all! I've been racking my brain with this one.
I basically just converted all of my pages from ASP code to PHP code. Kept the same filenames.
So, here is the htaccess code I have so far, but ...
0
votes
1answer
107 views
My website directories downloads instead of actually opening up from browser [closed]
I added some screencast to show what I am having issues with
http://screencast.com/t/212t3ANINqk
http://screencast.com/t/bR44U1wkvNZl
http://screencast.com/t/iDS7APYYsa
but the page downloads my ...
0
votes
1answer
74 views
codesniffer command not being recognized after several installs and upgrades
I've tried to install codesniffer using pear but my mac is not recognizing the phpcs command.
pear config
Configuration (channel pear.php.net):
=====================================
Auto-discover ...
0
votes
0answers
55 views
How can I benchmark my servers network speed? [closed]
I´ve rented a server online and i wonder how to check the bandwidth possibilities of my rented server. My problem is that I only own a 16.000 kbit/s internet connection and i want to know if it is ...
0
votes
0answers
10 views
Purchasing web hosting for PHP + PostgreSQL + Apache [duplicate]
Possible Duplicate:
How to find web hosting that meets my requirements?
thought of posting here since I know folks here are much experience in this. I spent my overnight finding some web ...
6
votes
3answers
150 views
Use Apache to prevent a PHP script from connecting to a specific domain
Is there a way to prevent apache from connecting to a specific domain e.g. somesite.com?
I have a PHP script that trying to connect to specific host, and I would like to prevent that.
4
votes
1answer
116 views
Apache create index for directories without one specified.
Currently, I use a PHP script to list the contents of a directory that does not have an index file, but I don't want to have to copy it to every directory without an index.
Can Apache do it ...
0
votes
0answers
64 views
Configuring PHP Scripts To Accept any User and Group Permissions [closed]
A client I'm doing some PHP work for has a virtual private server set up to host his website. The server admin has made every folder starting from root be non-group-writable and owned by ...