3,436 Topics
![]() | |
I have a WordPress multisite using subdomains. I have created a new website, not using wordpress, which is on the root in a folder called 'home' I am trying to remove the 'home' from the url so that it appears that this folder is the root eg. mydomain.com instead of … | |
I have a known good web page that works without (known) errors when it loads. However, when I try to load it using a very laggy connection (more than 6-10 seconds to load the page - when all works well, it can load in under 500 ms), my hosting provider … | |
Hello, I'm using Netbeans with JDK 7. I'm developing a swing desktop application with embedded derby database. I'm using the following code. Statement stmt; try { Class.forName("org.apache.derby.jdbc.EmbeddedDriver"); Connection conn = DriverManager.getConnection("jdbc:derby://localhost:1527/HelloWorld", "userid", "password"); stmt = conn.createStatement(); String sql = "INSERT INTO TABLEEMP " + "VALUES (" + Integer.parseInt(jTextField1.getText()) + ", … | |
404 error.requesting the resource while i click submit, i included lib files of struts in web-inf dir in this project. build success, not forwarding as per code in mainpage.java. index page(run): <body> <h1>Hello World!</h1> <a href="mainpage">Main page</a> </body> main page: out.println("<html>"); out.println("<head>"); out.println("<title>Servlet mainpage</title>"); out.println("</head>"); out.println("<body>"); out.println("<form action='strapp' method='post'>"); out.println("<input … | |
Hi All, Over the years I have smashed through God knows how many brick walls with `.htaccess`, and all I've learnt is don't even try to make it complicated as nothing is ever simple. I have therefore resorted in recent applications to using `mysite.com/index.php/category/sub-category/create/` etc. and PHP to get hold … | |
Hello, So I basically loaded to 2 keys and I want to verify them after I've signed something with one of them, but I a having difficulties. I am getting verified: false at the end without any error. Can someone please point out the flaw? package fliesigning; import static fliesigning.FlieSigning.verifySig; … | |
I have been working on this for some time now and i cant get it to work, idk if im missing something small which im sure is the case, but the strange part is it works on an older installation of apache, so maybe im using code thats no longer … | |
As the Apache Struts has lowered the Dojo plugin from Struts 2.1 many of the developers have made their mind for shifting everything to jQuery. While doing so, they specially notices the variation in sizes (170kb vs 19kb above). One may experience little troubles with the IE browser with handling … | |
hi, i create an webapplication with php , i commented the line deny from all in conf file of apache, the users can see the index.php but the problem is: when they click on username and pass therse nothing happens, but on the conexion button it work, its looks like … | |
The problem is when I enter a string or a name in the edittext, it cannot be appeared in the textview after i press the button "Send request". I don't know how to fix it. Please help me! package com.androidexample.httpgetexample; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; … | |
Can someone recommend a book or some reference to properly code DAO`s and apache derby client driver. The derby manual did mot cover this I will display my code in my next post | |
Hi all, I have developed application to to read xls file using JExcelApi. Now the requirement has changed that I want to read xlsx files.I know that Apache POI can resolve this but need to change complete reading logic. Insted of change the read logic is there any way to … | |
Hello All, I need to modify the default settings for the filesMatch in the apache httpd.conf file from - <FilesMatch "^\.ht"> Order allow,deny Deny from all Satisfy All </FilesMatch> so that to also include - <FilesMatch ".(eot|ttf|otf|woff)"> Header set Access-Control-Allow-Origin "*" </FilesMatch> I would appreciate the suggestions, somehow the combination … | |
I have a JDesktop app using apache derby embedded db. Without totally rewriting the app can it have the same db but on a server? | |
I am using PhoneGap Build to build an iOS v7.1+ application and using [weinre][1] to debug. I am using the media-capture plugin and file API to capture a video in an attempt get its base64 representation. I can get the video recorder to open, take a video, and return the … | |
hi all... how to rewrite this url http://mydomain.com/cms.php?cms_id=about to http://mydomain.com/about without any error using .htaccess rewriterule. pls help me to solve this.. tnx in advnc... | |
I am using [PhoneGap Build](https://build.phonegap.com/) to build an iOS application and using [weinre](http://people.apache.org/~pmuellr/weinre-docs/latest/) to debug. So far so good. I am trying to use the *media-capture* and *file* APIs to capture a video and get its base64 representation. I can get the video recorder to open, take a video, and … | |
So, I'm at school right now. In programming (actually coding) class. I managed to get working Apache and everything's fine. Got MySQL runnin', which is nice. But then it turned out that I had to use terminal for all the SQL commando's I had to put inside. I'm not close … | |
I have an instance of Tomcat 7.0.32 installed. The server.xml is configured to use clientAuth="want" in the Connector. I have a Context that has a docBase set to be a network share. This particular Context I want the user to be authenticated before they can access it, otherwise I want … | |
Is it possible to. Have Apache and MySQL started and running well as service on Ubuntu (I can get to MySQL through terminal and Apache works by correctly executing code which I can see by looking at localhost), then use virtual machine of Windows 8. Start there Apache and phpMyAdmin? … | |
I just re-installed my Mint system and now I can't get php to work. I've tested apache and it seems to be working just fine, entering localhost into the URL brings up that default page in /var/www/ but when I created a small php file called testphp.php with nothing but … | |
Is LFS (Linux From Scratch) bulletproof? I don't want to build OS, that would probably result me throwing laptop through the window 17 times and pulling massive amount of hair opt-out of my head. So. I just want to know. They said that using LFS they were able to build … | |
Am a neonate to the entire world of apache and mvc devpt. I'm having terrible nightmares (over 2 weeks now) writing an .htaccess rule for an MVC application, such that all requests get redirected to a public skin folder. the way i want it, All publically viewable files are stored … | |
Hi all, I am working on simplest web browser import socket mysock=socket.socket(socket.AF_INET,socket.SOCK_STREAM) mysock.connect(('www.py4info.com',80)) mysock.send('GET http://www.py4inf.com/code/romeo.txt HTTP/1.0\n\n') while True: data=mysock.recv(512) print data mysock.close() It's returning error 408:Request timeout at one time and at other runs smoothly but with incomplete output as: HTTP/1.1 200 OK Date: Sun, 14 Mar 2010 23:52:41 GMT … | |
While pressing start button in control panel it's showing some problem detected. | |
Hello, I have PHP 5 and Apache 24 installed. PHP doesn't appear in my Control Panel as an installed program. I have tried to Use **PHPIniDir c:/php** in my httpd.exe file and also **LoadModule php5_module "c:/php/ext/php5apache2_4.dll"** both of which crash the Apache server. I have searched Google for an answer … | |
Hi everybody! I´ve used jdk to generate my certificate with the following command: keytool -genkey -keyalg RSA -alias certificatekey -keystore keystore.jks -storepass password -validity 360 -keysize 2048 Everything works fine when I want to digitally sign an e-mail using: import javax.mail.* and import javax.mail.internet.* # and MimeMessage and Multipart. #. … | |
Hi everybody! I´ve used jdk to generate my certificate with the following command: > keytool -genkey -keyalg RSA -alias certificatekey -keystore keystore.jks -storepass password -validity 360 -keysize 2048 Everything works fine when I want to digitally sign an e-mail using: # import javax.mail.* # and # import javax.mail.internet.* # and … | |
Hello. please excuse my ignorance It has been 1 year or so since I finished my 2 million line desktop app. An app with extensive use of every thing you can think of as far as multi tabbed desktop with multi profile login. properties. properties xml properties apache db, extensive … | |
Hello I've created a custom php page for display in WordPress, and the client wants to allow users to be able to save this page from the browser as a pdf file on their desktop. How can I do so, keeping in mind that I do not have access to … | |
My company has a website www.geminicatamarans.com. All their websites and their site servers are messy, this one's no exception. They have it set up currently with the index page "redirecting" with JS (window.location.href) to a WP site in a subdirectory (which used to take even longer because there was an … | |
I cant find solution for this problem so i hope someone of u can help When i set seo settings** Use URL rewriting = yes** in Joomla than my site crashes It must be **Use URL rewriting=yes** **How to make my joomla site user friendly with this problem?** this is … | |
These days, I am busying in building up LAMP environment on CentOS 6.5 While installing phpMyAdmin,problems occur. By convension, I download phpMyAdmin zipped files,and then unzip it to /usr/share/phpMyAdmin. in the folder /etc/httpd/conf.d, I create a new file named phpmyadmin.conf. and add the follow content to it. Alias /phpmyadmin /usr/share/phpMyAdmin … | |
Hi Everyone, I know this such Exception is not strange while doing J2EE, but I cant figure out how my app going wrong at this step. My Code is quite long, so I will post only what I think is relevant. For the full source code, please go to: http://code.google.com/p/eagleit/ … | |
Hi Team, I am beginner in Java. I am trying to prepare report using Java,the code will generate a Microsoft Word Document and add some text and images in it. I am using Apache POI for this.I am able to create and add text in the doc file and the … | |
I am setting up a wordpress page on an ubuntu server with Apache/2.4.6 (Ubuntu). Here is what I did: 1. I enabled rewrite mod with : a2enmod rewrite 2. Changed "AllowOverride None" to "AllowOverride All" in apache2.conf :vi /etc/apache2/apache2.conf <Directory /> Options FollowSymLinks AllowOverride **All** Require all denied </Directory> <Directory … | |
hello guys, its been a while since I used htaccess file, but I know how to use it. but the only problem I face is when using in this way I have page for view video watch.php?v=qvLqn2NEsOE&title=Networkplus_tutorials.html first I've create rewrite rule in .htaccess file `RewriteRule ^v-(.*)-(.*).html$ watch.php?v=$1&title=$2` so if … | |
hi, how to send email when the server in down in php with cron ? i have 4 server and i want to check every 2 minutes that if any server is down , email send to my gmail account . email send once in 24 hrs not after every … | |
I am an Apache/linux newbie. (Trying to learn this technology...) I setup a Mandrake 10.1 server, and am trying to setup virtual hosting. I created a user and a www folder. Set the www folder permission to 777. I created a virtual server as follows: <VirtualHost *> DocumentRoot "/home/domain/www" ServerName … | |
Hi, I’m pulling out my hair getting Apache/Perl to work and would like some help with getting httpd.conf, Windows path, and other setting correct to run some Perl programs. I’ve set alias, Options, AddHandler, etc. but the simple program below gives permission errors. I’m running a Bitnami WampStack on XP … | |
I am trying to write a output for my log in file on the desktop but for somereason, it is not doing that.It says the file cant be instantiated. I have the code and console output below. Any help would be much appreciated. thanks in advance. ### direct log messages … | |
Hi I've been working on a joomla site on my local windoes vista computer using WAMPSERVER vrs2 and with apache. Something went wrong with apache and windows warned me and turned it off. Since then I can't use [url]http://localhost[/url] (or the shortcut on the wampserver menu 'localhost' to connect. However … | |
Hi, I am trying to write a .htaccess script that can redirect any URL on my site (whether it exists or not, including sub-domains) to the index page of that site. For example: example.com/pages/page.htm ---> example.com sub.example.com/page.htm ---> example.com error.example.com/error ---> example.com I've tried a few things with mod_rewrite but … | |
The Onion Router, better known as the Tor Network, is often thought of as being the dark-side of the web. Not least as the anonymity provided by Tor meant that sites hosted on so-called hidden service servers were free to trade in just about anything from drugs and guns through … | |
![]() | I have a doubt with my codeigniter .htaccess file. I was hoping there was something I was missing. My question is I need a different .htaccess file for my live server and one for localhost. Locally, I'm using macos and linux, on my live server I am using centos with … |
I want to do a redirection where a user enters their user name in the URL and redirects to their profile, like this: example.com/joe redirects example.com/profile.php?username=joe I want to do it like Facebook does | |
import java.io.*; import javax.servlet.*; import javax.servlet.httpservlet.*; public class FirstServlet extends HttpServlet{ public void doGet(HttpServletRequest req, HttpServletResponse res)throws ServletException,IOException{ res.setContentType("text/html"); PrintWriter out=res.getWriter(); res.sendRedirect("/FirstServlet/index.html"); } }//end of get public void doPost(HttpServletRequest req, HttpServletResponse res)throws ServletException,IOException{ res.setContentType("text/html"); PrintWriter out=res.getWriter(); String name= req.getParameter("name"); if(name.equals("")){ res.sendRedirect("/FirstServlet/ContacUs.html"); }else{ requestDispatcher rd= req.getRequestDispatcher("/second"); rd.forward(req,res); } }//end of post … |
The End.