-
Posts
142 -
Joined
-
Last visited
Everything posted by BananaAcid
-
you have probably stted your screens brightness to low. (Adobe screen configuration helps ;-) required, install order: 1. DLI: just extract over the files, dont install yet, BADmin patcher calls this one src (v0.0.7 - 25. April 09) RC1 (cgi translation support working).7z 2. AVC minimalist 4DLI: just extract over AVC minimalist DLI for MONA 1.0.0 +needs DLI patch.7z 3. BADmin: extract over the files, then start localhost/apanel/start_patcher_BADmin.php src (v0.1.0 beta dev version - 26. April 09) REQUIRES DLI PATCH TO BE AT LEAST COPIED OVER. tryout. not guaranteed to install properly.7z BADmin patcher creates a backup zip of the admin/www in /home/admin/ as zip. I recommend, you backup your admin/www before unpacking DLI and AVC (should be stable, but just to make sure). make sure, you turn off your browsers option to wait with displaying the page till its loaded, (important for the patcher and some of the original cgi scripts). hope the patching works as expected. not yet guaranteed thought. please post if you could or could not get it installed. and the BADmin concerning patcher results (replacement counts).
-
all done so far. ready for a first release. just need to assemble the patcher.
-
.7 RC1 : added cgi translation ! uses the common language files /apanel/www/includes/lang/*.inc.php if cgi is called myfile.cgi -> additional translation files (plugin style) /apanel/www/includes/lang/myfile.en.inc.php will be used too, if available see Info for plugin makers. all will be translated and all working, it seems. still need testers.
-
Upgraded AVC minimalist: .../AVC_Plugin/__AVC_minimalist_for_MONA_needs_DLI this package depends on the Dynamic Language Interface (DLI) patch 0.0.6 RC4 or later! it is an upgrade of the AVC minimalist mentioned the last post. read the AVC info! You should really concider getting your plugins ready for AVC and DLI. would help a lot.
-
http://bananaacid.de.vu/?uniserver/BADminPanel --- (More Info) BADmin Panel (production name) "A stylish, themable interface for APanel. Using language files (DLI), dynamic plugin inclusion into the nav area and version checking for the plugins." It will patch your current admin panel, keeping anything you have installed. Available Themes: Old one: Admin Panel Default new one: BAdmin Panel X (with animations) ... how about you design one too? What it can do and aPanel can't: - Fetch the version numbers dynamically - DLI based (plugin for apanel available) - AVC based (plugin for apanel available) - pluginmanager with download and automated installation - compatible to any aPanel plugin (shows version updates if plugin supports AVC) - animated menu interface behavior, thats what makes it useable after all (you'll love it) - THEMEable - just by a few graphics and a style sheet - by same graphics as X but with different layout - ... and any other mixture, be creative. Why? - was tired of the old design. - need a convinient themeing base for clients. - learning how to do things better. Problems or to annoying? - turn off the animating behavior: \home\admin\www\themes\default\includes\main.js - Line 13. (read the comment) How to get going? - download the lates DLI (at least 0.0.6 RC3) and the latest BADmin package, - extract all files to your admin/www/ folder, - create a backup of your admin/www/ (rightclick, sento zip-archive), - start the http://localhost/apanel/patcher_BADminPanel.php (not the DLI patcher) - everything should look the same, even thought the APanel runs through the BADmin engine - navigate to Miscellaneous section and click on "BADmin Panel Themes" SCREENSHOTS: screen.ThemeX.0.multiplelanguage.png screen.ThemeX.1.welcome.de.png screen.ThemeX.2.viewall.de.png screen.ThemeX.3.fullview.de.png feedback is, as always, very welcome.
-
Uniform Server on Windows Server 2003
BananaAcid replied to supernovice's topic in Uniform Server - Windows
still you should log into the admin panel and make sure you check it out to know what you can set up and stuff. (also security related features) you're welcome -
Uniform Server on Windows Server 2003
BananaAcid replied to supernovice's topic in Uniform Server - Windows
just install it. thats all thats needed. at least win2000, 500Mhz, 250mb ram, 80mb harddisk (~50 is uniform server), ISDN is the minimum you should supply (ISDN: only 5 fast users at a time for websites+pictures). - 250MB Ram are pretty much used up by apache+mysql- if the os is using a pagefile, (like windowsOs, 90 MB are sufficient), or for a multithreading-dos use a qemm manager to extend RAM to harddrive. for less then 50 syncronous connections ok. (I had Uniform Server running on a PSP, yes - playstation portable (350-turbomode500mhz), server on SD card, with a freedos port...) if its for lan use only, thats all you need. if you want it to be accessable from inet, forward port 80 (TCP) to the ip of you pc hosting UniServer. note, your IP will change after 24 hrs (DSL users). so use dyndns to get a domain name like yourname.ath.cx / yourname.kicks-ass.net or alike (forum: http://forum.uniformserver.com/index.php?s...1&hl=dyndns -use inadyn ). my post at the bottom will show you how to tie it to a yourname.de.vu or alike. thats how i use it. MAKE SURE, ControlPanel->IIS is turned off, or the IIS port is changed from 80 to something else!!! -
how to access through lan
BananaAcid replied to baba black sheep's topic in Uniform Server - Windows
you also access it by password (trhough your htaccess file), not by locking to ips. search the net for htaccess+password - there is a lot out there (+tools). -
it is. i am using the ps tools for quite a while allready, love em. sure, the dev team has done a very great job. coding all that. i was just wondering. and asking. (realized it, when pstools like pskill didnt run on a bunch of machines, security guidelines prevented non-ms files (those outside of Program Files and windows) to run. you are serious about XP Home not having taskkill? shame on M$... leaves me speechless.... because all other NT based OSes (since Win2000) have taskkill for sure (even Vista...)... what do you mean by across platforms..? is uniserver supposed to be used by anything else then M$ OSes?
-
should have mentioned that line.... thought it would be self-explenatory.... *g*
-
use $_POST instead of $_REQUEST .... if thought _Request should hold posts and gets, it seems to be troublesome to use. cant tell you why, but it has always worked to use the specific _GET (for a link or form method=get) and _POST (for form method=post) where as _REQUEST (merges _GET and _POST) is sometimes just blank, or does not contain all keys. so to your error: $_REQUEST['state_id']; might just return "" or null => evaluates as empty() try inserting a <?php print "<pre>";var_dump($_REQUEST); ?> at top to test if the form supplied it all. btw u should have mysql statements as one line to avoid mysql (sometimes) and readability confusions. $sql = "INSERT IGNORE INTO city SET city_id='$city_id', state_id='$state_id', city_name='$city_name'"; just php variables in double-qoutes " will be parsed to its value. so just use them without ending and starting the string again. how do you handle duplicate keys (use ignore for example)? if "state_id" is a unique field too (like your city one), no other city may be in the same state. i would recomend you make ONLY the city id unique. well, i hope i have targeted the most common problems.
-
why use pskill.exe in the batch files? pskill.exe is intended to be able to close tasks on remote machines. taskkill.exe is a windows inbuild command. available since pre win2000. (kill.exe was it named before) would reduce bloat...
-
for parsing through php, this code line helps header("Content-Type: text/html; charset=UTF-8"); or any charset. usually: this forces the "delivery" of the text by to a specific charset headers have to be set before anything else. (the first line in your script right after <?php. make sure you have no whitespaces before that !
-
btw: my-small.cnf is called my.cnf (the my.cnf code header tells its my-small.cnf). that is also the config file used by the mysql batch files.
-
Start EditPlus: you have to add the webroot in Tools > Preferences > "Tools" to "Webserver Root Directory", click "Add" enter: webserver IP or host name: localhost web server root directory: w:\www that reads as: map any file edited in w:\www\... to http://localhost/... Ctrl+B opens your preview. BTW. That applies also to TopStyle and others (usually called Mapping)
-
totally forgot to upload the MONA compatible version: .../AVC_Plugin/__AVC_minimalist_for_MONA this package has no dependencies, is basically allowing the plugins to add themselves to the nav bar and checking for new updates. read the AVC info! You should really concider getting your plugins ready for AVC. would help a lot.
-
Hi, since there is nothing from the official side about this patch (like a roadmap or planing how to support languages), there is nothing really that needs to be changed. I would love to see languagefiles beeing completed (as mentioned above) to be helpful. This patch doesn't (and shouldn't -> perlscripts) break any plugins. Those non-standard plugins (not from the uniserver package) are not translated. They will show up as usual. if the US array is used, you can use the patch on it to have it translated. or use sendnsave. just needs a translation string array. you might just be doing it with the help of the notes file (see above). Translation instructions are clear, i wont code the translation tool by now, since there is no feedback yet... YOUR feedback is welcome! ANYTHING would be helpful... BananaAcid.
-
that ssl.conf gets included into the httpd.conf (apache conf), so its apache syntax and apache stuff. not a config for ssl directly, but tells apache how to handle ssl. i would recommend something like this: /apanel -> restricted to localhost: / -> open (= /www) /webshop -> secure, ssl the secrure folder needs a .htaccess with the following line: SSLRequireSSL as it looks like. or you add the .htaccess file to the www root (/www) or into the apache conf and add the same stuff as the directory"/ssl"... as your directory. the directory "command" takes an existing one and sets options for it. in an htaccess file, not having the directory tags around the stuff, targets the current, where the htaccess file is located at. that would be my best guess.
-
might be helpfull, thought im no expert concerning ssl. see usr\local\apache2\conf\ssl.conf this looks to me like a template <Directory "/ssl"> AllowOverride All Order allow,deny Allow from all SSLRequireSSL </Directory> SSLRequireSSL is the directive to activate the SSL part in httpd.conf append that code with your directory defined
-
Tutorial: including virtual host configs (simple,real MultiServer)
BananaAcid replied to BananaAcid's topic in Apache
Additionally, to make things clear: this allows you to add any apache config stuff to a /etc/apache2/mystufffilename.conf and it will be loaded by your added "include /etc/apache2/*.conf" from apaches httpd.conf [see example1]. -
it was about 25 - 27 °C around here... about the hottest temperatures around europe in mid-germany. "Very sunny, no drop of rain... searching eggs was a pain..." TM Driving over to my moms the last days, in the burning sun, on motorbike... damn... wish it had rained...
-
VHost includes In general, any option can be overwritten at any place. That includes .htaccess files. But: The httpd.conf options usually apply generally unless they are marked for use with a special folder or location. The .htaccess files are loaded on demand (on folder access) and apply only to the containing one and the subfolders (if defined), while overwriting the apache configuration options. Be careful: htaccess options work on a "first found, first serves" basis. With several ReadmeName-s in a htaccess, only the first will be applied. Same for AddDescription. (Applies to same keys, in htaccess) There is difference concerning the apache config. For example: Listen 80 Listen 81 This will make apache listen to both ports, be be mapped to virtual hosts, directories and root folders (= Multiserver). Having 2 ReadmeName-s in a row, only the first one serves. ReadmeName footer1.txt #this one will be selected to serve ReadmeName footer2.txt That leads us to the following conclusion: We must include our personal tweaks before the default options we want to overwrite. But after the initialization: the options our tweaks base on. (definition of the http root dir, etc) Usually (and VirtualHost related) includes can go to the bottom of the apache httpd.conf file (being appended) since the VHost part is at the end anyways and location stuff is personal so does not need to be overwriting anything. Including Not a lot of ppl know, that apache supports including, and with wildchars. The includes can include others again. Like a /etc/default.conf could include example1, and apache could include that default.conf. example 1: include /etc/apache2/*.conf include /etc/apache2/vhosts/*.* For windows users: the /etc folder is used for configuration files, for more then one, use a subfolder to contain them. That reads pretty much as follows: include all files ending in .conf from /etc/apache2/ and then include any files with any ending from include /etc/apache2/vhosts/ The first include would allow us to include personal settings like directory directives, special settings for specific folders. The second include would allow us to get config files with any name like "forum.bananaacid.ath.cx". Easily distinguishing of virtual hosts by file name. ( i recomend clearedit. in its settings it can be associated with unknown filetypes ) A virtual host .conf could look like this: (example2) /etc/apache2/vhosts/forum.bananaacid.ath.cx Listen 80 <VirtualHost *:80> ServerName forum.bananaacid.ath.cx ServerAlias forum.bananaacid.kicks-ass.net DocumentRoot /www-user/forum/www/ #PHPIniDir "/www-user/forum.cfg/" #'----> use a specific php.ini file from that PHPIniDir, with modified options # '--> or use Location and php_admin_value to overwrite specific value <Location /> php_admin_value safe_mode_exec_dir "/www-user/forum/" php_admin_value open_basedir "/www-user/forum/" php_admin_value error_log "/www-user/forum/errors.log" php_admin_value doc_root "/www-user/forum" php_admin_value user_dir "/www-user/forum/www" </Location> </VirtualHost> if it would be a setup to a clients website, the ftp access for a client would be to /www-user/forum/ but the server would display only the stuff within forum/www/. The cgi bin would go to forum/cgi-bin "Listen 80" adds the port to use for the forum (if not available allready). the forum will only be reachable by port 80. To take any port to listen to, use "<VirtualHost *>". Specific settings are within the "Location" directive. In this case for PHP, so we do not need a special php.ini, since most php.ini settings are generally ok. We use "php_admin_value" to set any php.ini value. The ones defined here, restrict ANY access to the "users" folder specifically (in windows, this is wonderfull, since using access rights is a pain). To get more details on the php_admin_value-s, open php.ini and look up the description about the open_basedir and the others. Conclusion: For any Virtual Host, add a file with a filename that represents that address best and add the above code (ecample2). Change it suit your needs. Remember: MySQL allows different databases for different users! No need to load a whole new MySQL server into memory. Any comments, and additional info on perl directives are welcome. BananaAcid
-
just for completeness: there are also file-management php scripts with upload and download, copy move etc... not as comfortable, but works as an emergency, or usable for access from a mobile device (where you might not have an ftp client or java support for such)
-
I guess Ric could answer this. But he is off for easter eggs... Unless Ola or some1 else knows, you got to wait a few days...
-
SCREENSHOTS screenshot.start_patcher.v1.png screenshot.DLI_usage.png screenshot.DLI_working_de.png screenshot.DLI_working_de_langselect.png screenshot.DLI_working_hu_---undefLangEntry.png screenshot.DLI_working_sv---undefLangEntry(old_lang_files).png screenshot.DLI_working_sv---cgi-called-but-missing-LangEntrries.png screenshot.DLI_working_de---cgi_security_warning.png screenshot.DLI_working_de---cgi_cert---key_gen.png