Tagged Questions
1
vote
0answers
8 views
How can i embed a python script in my PHP-Apache-PostgreSQL site? [migrated]
I have a internet site built in PHP-Apache-PostgreSQL, i built myself a python script.
Now, i have to create a webpage where i embed my python script.
My question is: Which is the fastest and easy ...
0
votes
1answer
85 views
htaccess redirect pages that don't exist
I have a website that has a little over 100 members. Each member gets a replicated website, and by default the software we use sets up their replicated website at a url like:
domain.com/?username
...
1
vote
2answers
69 views
Serving proper 404/410 error codes on dynamic database driven site
a developer I'm working with is having a difficult time serving 404 errors on dynamically generated pages (they get created when the request is made by querying the database to see if the content ...
3
votes
2answers
115 views
Website hack resulting in auto redirect - where to start looking?
My website is being redirected to a non-existent page (/showpage.php) for some users when they hit the homepage. For other users, the site works fine. I have looked in the index.php files and some ...
0
votes
1answer
29 views
CMS fails at finishing setup with PHP-FPM and Apache, but why?
I have installed Apache and PHP-FPM by following this tutorial.
Unfortunately when I try to set up Drupal or PHP-Fusion it simply fails at the end of the setup. I mean it accepts everything and at ...
0
votes
1answer
112 views
Getting the masked URL values in Mediawiki
I have successfully masked the URL in Mediawiki. By using the following scripts in .htaccess and localsettings.php files in Mediawiki, i.e.:
.htaccess:
Options +FollowSymLinks
RewriteEngine on
...
1
vote
4answers
287 views
Setting up a LAMP VM server for Development and Testing?
Info: I would like to set up a VM server on my local computer which will serve pages in the exact same way as my current hosting (but only to me on my local computer). I currently pay a big web ...
0
votes
2answers
88 views
Issues with Apache and loading PHP files [ubuntu]
I just installed PHP and Apache2 on my laptop (ubuntu 12.04), but I can't get my PHP files to load. I have followed this tutorial: ...
1
vote
1answer
2k 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
40 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
194 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
75 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
54 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 ...
2
votes
1answer
86 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
936 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 ...