Htaccess not works at public_html: why?

Hi,
i have the topic problem.
The htaccess file works correctly in /srv/http dir, but if i use the same file in public_html it isn't see (i think).
I googled the question but i have not find a real answer to the problem.
Can someone help me?
Sorry for my english.
PS: I have set "AllowOverride All" on: httpd.conf and the rispective config file for usersdir.

Well I'm having the same problem. The configuration is exactly by the book of apache I think:
UserDir public_html
<Directory "/home/*/public_html">
#AllowOverride FileInfo AuthConfig Limit Indexes
AllowOverride All
Options Indexes FollowSymLinks
#Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
Even if I take a look in to .htaccess file what I have tried on sever several and distribution:
php_flag allow_url_fopen on
RewriteEngine on
# RewriteBase /home/*/public_html/site/
# RewriteCond %{HTTP_HOST} ^domain\.com [NC]
# RewriteRule (.*) http://www.domain.com/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^/]+)/?$ index.php?page=$1
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^/]+)/([^/]+)?/?$ index.php?page=$1&page2=$2
And on last step, I look in to log file where I see that:
[Tue Nov 15 20:13:08 2011] [error] [client ::1] File does not exist: /srv/http/home, referer: http://localhost/*/site/
So now if I'm thinking right it's trying to find the directories in /srv/http/home, but I'm not requesting home I'm requesting different variable and why it's trying to find the directories in /srv/http if I'm using userdir. So I tried set RewriteBase in my htaccess file but same problem. To be honest I'm out of idea and I be happy when someone solve this.

Similar Messages

  • My apple id is not working in itunes. why?

    my apple id is not working in itunes. why?

    LeesaHeeley wrote:
    When I go to settings/iTunes App Store my Apple ID is not there. When I enter my ID and password it does not save or link to account.
    When fist setting up your new iphone you will be asked to log in with an apple id and password. If this did not happen you can then do as you suggested going to settings to itunes and app store and add your apple id login. This apple id login must have already been created for the iphone to accept it. If this apple id is already created but is not being accepted by your iphone you then should shut down your iphone and restart the device.
    Good luck.

  • Am purchase iphone4 in UAE, but not work in india ,why?

    am purchase iphone 4  in UAE, but it is not working in india  why?

    If you did not purchase an unlocked iPhone then it is locked to the carrier you bought it from. I am assuming the carrier in India is different than in the UAE. If so you need to contact the original carrier you bought it from and ask them to unlock it.

  • After download ios5 my iPhone dose not  work like before why?

    After download ios5 my iPhone dose not  work like before why?
    i have iphone 3gs

    OK this is the issue after download ios5 my phone goes crazy like when i turn on my 3G i can`t  call someone and i cant even check my email i don't know why ...so after all this problem i have to turn 3G off and than call to my friend so why it work like this ?
    i restore my phone ...i restore as a new phone but still i have the problem ....

  • With previous editions of iTunes for Windows, I could play a CD at the same time as it was being imported. That does not work anymore. Why not, and is there a way to do both with the most current version?

    With previous editions of iTunes for Windows, I could play a CD at the same time as it was being imported. That does not seem to work anymore. Why not, and is there a way to do both with the most current version? I am running a Surface Pro 2 with Windows 8.1 and the most recent vesion of iTunes, which, in all other respects, works well. I just can't listen to an album for the 1/2 to 1 hour that it takes to import it into my library.

    Two JVM's ? I thought that J2EE worked within a single JVM and run everything in containers. Can you see the two processes?

  • My app store is not working at all why?????

    Why is my app store not working?

    Check the system Status for Apple Services at the link below. There are presently several problems that, hopefully, will be corrected soon.
    https://www.apple.com/support/systemstatus/

  • Preinstall Conection 4 Ipod On Nissan Versa SL, Not work with IPhone, Why?

    I bought a Nissan Versa SL, fully equiped, which comes integraded the conection cable for Ipod (which has a label to keep with the lates update).
    Months later I bought an IPhone (On my understanding it is IPod and Phone in one), I plug it in my car and the system does not recognise the Iphone, It does not charge the batterie of the phone either, It does not want to play the music.
    Is there anything I can do, or any explanation about this situation, why does not work?
    (Of course i have to come back to the dealership looking for answers, but in the mean time), if someone has any answer or comment about it, will be gladdly appreciated.

    Most auto charging systems use the FireWire pins of the dock connector to deliver power (cheaper for them, since FW can take the full 12 V of the car electrical system, whereas USB charging requires a step down to 5 V). Apple has phased out support for FireWire charging of devices. The iPhone 3G, the 2nd gen iPod Touch, and the 4th gen nano cannot use the FireWire pins for power.
    The only option (unless Nissan will modify the system for you) is a power converting dongle, like one of these:
    http://www.amazon.com/Scosche-Charging-Adapter-touch-iPhone/dp/B001HN6CVA
    http://www.chargeconverter.com/shop/connector.htm?connipod.htm

  • .htaccess not working.

    All,
    I am working with a 3rd party to have some scripts installed that use the .htaccess function. (10.4.11)
    T?he developer has asked me to enable (or check and see if it is enabled) .htaccess.
    These scripts worked fine when we installed them previously on a few of our other boxes. (10.3.9 xServe)...and I don't recall having to manually enable .htaccess or a module there.
    Any thoughts? The .htaccess function is clearly not working on this box and I don't know where the "switch" is.
    Take pity on me and point me the right direction please?
    Thanks,
    -C

    Hey Chris,
    I have also been trying to get .htaccess working using the link above. It is still not working for me.
    I have mod rewrite loaded
    I checked both /etc/httpd/httpd.conf and /private/etc/httpd/httpd.conf
    Each are identical
    There is a line
    AccessFileName .htaccess
    So I am assuming that is on. My only other issue is finding the correct Override statement.
    In osx 10.5.1 Server there are 3 entries that contain AllowOverride one is for Alias /icons/
    the 2nd is for
    <Directory /Library/WebServer/CGI-Exuctables>
    the 3rd is for
    <Directory />
    My questions are.. which httpd.conf do I edit? What changes do I make to it?
    Do I need to make a new <Directory> entry for the location of my "website"?
    My website is located in /Library/WebServer/domainname
    My server settings for that site is configured as follows
    1) folder listing (enabled)
    2) Web DAV (disabled)
    3) CGI Execution (disabled)
    4) WebMAil (disabled)
    5) SSI (enabled)
    6) Allow All Overides (enabled)
    7) Spotlight Searching (disabled)

  • Code not working, anyone know why?

    I'm making a simple pong game, and it's important to me that I use JAVA as efficient as possible (that is, use object orientated stuff, mostly). So, for drawing the ball and the players, I had thought up the following steps:
    - the applet has an array list that contains drawables*
    - if the ball and players need to be drawn, the applet uses a for-each loop, wich will call the draw(Graphics g) of all the drawables in the array list.
    * interface, guarantees that the method public void draw(Graphics g) is pressent.
    This is how I programmed it:
    http://willhostforfood.com/access.php?fileid=32821
    Only problem is, it doesn't work. The method paint() of the applet should result in "Hello World" being drawn on the screen (I know this seems like an eleborate method, but using seperate objects will help organise things once I have like, 20 - 30 balls on screen), but it doesn't.
    Does anyone know why it is not working?

    Here ya go, this is something I did quite a while ago, knock yourself out:
    package RandomColor;
    import java.awt.Canvas;
    import java.awt.Color;
    import java.awt.Cursor;
    import java.awt.Dimension;
    import java.awt.Graphics;
    import java.awt.image.BufferedImage;
    import java.awt.Image;
    import java.awt.image.MemoryImageSource;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseListener;
    import java.awt.event.MouseMotionListener;
    import java.awt.event.MouseWheelEvent;
    import java.awt.event.MouseWheelListener;
    import java.awt.Point;
    import java.awt.Toolkit;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import java.util.Random;
    public class RandomColor extends JFrame implements MouseListener, MouseMotionListener, MouseWheelListener{
      private BufferedImage myImage = null;
      private Canvas myCanvas = null;
      private Color bgColor = Color.BLACK;
      public RandomColor() throws java.lang.Exception {
        super();
        setUndecorated(true);
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        setBackground(bgColor);
        Dimension myDimension = Toolkit.getDefaultToolkit().getScreenSize();
        setSize(myDimension);
        setMinimumSize(myDimension);
        JPanel myJP = new JPanel();
        myJP.setBackground(bgColor);
        Dimension dImage = new Dimension(this.getAccessibleContext().getAccessibleComponent().getSize());
        myCanvas = new Canvas();
        myCanvas.addMouseListener(this);
        myCanvas.addMouseMotionListener(this);
        myCanvas.addMouseWheelListener(this);
        myCanvas.setSize(dImage.width, dImage.height);
        myJP.add(myCanvas);
        add(myJP);
    // start of code to hide the cursor   
        int[] pixels = new int[16 * 16];
        Image image = Toolkit.getDefaultToolkit().createImage(new MemoryImageSource(16, 16, pixels, 0, 16));
        Cursor transparentCursor = Toolkit.getDefaultToolkit().createCustomCursor(image, new Point(0, 0), "invisiblecursor");
        getContentPane().setCursor(transparentCursor);
    // end of code to hide cursor   
        pack();
        setVisible(true);
        Random myR = new Random();
        myImage = new BufferedImage((int) (dImage.getWidth()+0.99), (int) (dImage.getHeight()+0.99), BufferedImage.TYPE_INT_RGB);
        int i = myImage.getWidth();
        int j = myImage.getHeight();
        Ball[] myBall = {new Ball(), new Ball(), new Ball()};
        for (int k=0; k<myBall.length; k++){
          myBall[k].setBackGroundColor(Color.BLACK);
          myBall[k].setBounds(0, i, 0, j);
          myBall[k].setRandomColor(true);
          myBall[k].setLocation(myR.nextInt(i), myR.nextInt(j));
          myBall[k].setMoveRate(32, 32, 1, 1, true);
          myBall[k].setSize( 289, 167);
        Graphics g = myImage.getGraphics();
        while(true) {
          for (int k=0; k<myBall.length; k++){
            g.setColor(myBall[k].fgColor);
            g.fillOval(myBall[k].x, myBall[k].y, myBall[k].width, myBall[k].height);
          invalidate();
          paint(getGraphics());
          for (int k=0; k<myBall.length; k++){
            g.setColor(myBall[k].bgColor);
            g.fillOval(myBall[k].x, myBall[k].y, myBall[k].width, myBall[k].height);
            myBall[k].move();
      public void mouseClicked(MouseEvent e){
        exit();
      public void mouseDragged(MouseEvent e){
    //    exit();
      public void mouseEntered(MouseEvent e){
    //    exit();
      public void mouseExited(MouseEvent e){
    //    exit();
      public void mouseMoved(MouseEvent e){
    //    exit();
      public void mousePressed(MouseEvent e){
        exit();
      public void mouseReleased(MouseEvent e){
        exit();
      public void mouseWheelMoved(MouseWheelEvent e){
        exit();
      private void exit(){
        System.exit(0);
      public void paint(Graphics g){
        super.paint(g);
        myCanvas.getGraphics().drawImage(myImage, 0, 0, null);
      public static void main(String[] args) throws java.lang.Exception {
        new RandomColor();
        System.out.println("Done -- RandomColor");
    }Ball Class:
    package RandomColor;
    import java.awt.Color;
    import java.util.Random;
    public class Ball {
      private int iLeft      = 0;
      private int iRight     = 0;
      private int iTop       = 0;
      private int iBottom    = 0;
      private int moveX      = 1;
      private int moveY      = 1;
      private int xScale     = moveX;
      private int yScale     = moveY;
      private int xDirection = 1;
      private int yDirection = 1;
      private boolean moveRandom = false;
      private boolean colorRandom = false;
      private Random myRand = null;
      public Color fgColor = Color.BLACK;
      public Color bgColor = Color.BLACK;
      public int x = 0;
      public int y = 0; 
      public int width  = 1;
      public int height = 1;
      public Ball(){
        myRand = new Random();
        setRandomColor(colorRandom);
      public void move(){
        x = 5 + x + (xScale*xDirection);
        y = 5 + y + (yScale*yDirection);
        if(x<=iLeft){
          x = 0;
          if(moveRandom) xScale = myRand.nextInt(moveX);else xScale = moveX;
          xDirection *= (-1);
          if(colorRandom) setRandomColor(colorRandom);
        if(x>=iRight-width){
          x = iRight-width;
          if(moveRandom) xScale = myRand.nextInt(moveX);else xScale = moveX;
          xDirection *= (-1);
          if(colorRandom) setRandomColor(colorRandom);
        if(y<=iTop){
          y = 0;
          if(moveRandom) yScale = myRand.nextInt(moveY);else xScale = moveY;
          yDirection *= (-1);
          if(colorRandom) setRandomColor(colorRandom);
        if(y>=iBottom-height){
          y = iBottom-height;
          if(moveRandom) yScale = myRand.nextInt(moveY);else xScale = moveY;
          yDirection *= (-1);
          if(colorRandom) setRandomColor(colorRandom);
      public void setColor(Color c){
        fgColor = c;
      public void setBackGroundColor(Color c){
        bgColor = c;
      public void setBounds(int Left, int Right, int Top, int Bottom){
        iLeft   = Left;
        iRight  = Right;
        iTop    = Top;
        iBottom = Bottom;
      public void setLocation(int x, int y){
        this.x = x;
        this.y = y;
      public void setMoveRate(int xMove, int yMove, int xDir, int yDir, boolean randMove){
        moveX       = xMove;
        moveY       = yMove;
        moveRandom  = randMove;
        xDirection  = xDir;
        yDirection  = yDir;
      public void setRandomColor(boolean random){
        colorRandom = random;
        switch (myRand.nextInt(3)+1){
          case 1:  fgColor = Color.BLUE;
                   break;
          case 2:  fgColor = Color.GREEN;
                   break;
          case 3:  fgColor = Color.RED;
                   break;
          default: fgColor = Color.BLACK;
                   break;
      public void setSize(int width, int height){
        this.width  = width;
        this.height = height;
    }

  • Im using a network drive with time machine and im getting error 45. Time machine will not work now. Why?

    I bought a seagate goflex home 2TB network drive. It worked with time machine for a couple of weeks than now it wont. It just says ERROR 45 now and will not back up. Why?

    Welcome to Apple Support Communities.
    According to several related Time Machine Error 45 threads in these forums, Time Machine is not well suited to backups on most non-Apple network drives.
    https://discussions.apple.com/message/10744727#10744727
    https://discussions.apple.com/message/15643759#15643759
    https://discussions.apple.com/message/11929252#11929252
    https://discussions.apple.com/message/13164522#13164522
    One of the discussions provides an off-site link to these suggestions:
    http://web.me.com/pondini/Time_Machine/Troubleshooting.html

  • HT1414 My vocal texting and Siri does not work...why?

    ANy thoughts on why my Siri on my iPhone 5 does not work?

    A reset will not cause any data loss.
    A restore from backup should not result in any data loss.
    A restore as new will put the device in a "fresh out of the box" state.
    If you are using the device as designed (i.e. syncing contacts and calendars to a supported app on the computer or a cloud service) then there is no risk.
    Pictures are designed to be moved to a computer regularly.  Any that the user desires to have on the device should be synced via iTunes.
    All media on the device should exist in iTunes on the computer.
    Frankly, it would be really unintelligent to rely on any device, especially one as easily lost/stolen as a phone as sole storage of content.

  • SSRS 2008 Work order Report , when added item descriotion , somehow costgroup id is not working , donot know why, ( need help)

    SSRS 2008 Production orders created report, when I added item description some how cost group id is not working ,
    my costgroup id did not break into labor , only Mat Cost showed in the total,
    my query is as below,  did I link the wrong field,   I want to show Labor total also
    can some one suggest what I did wrong .
    any advise will be great
    SELECT        PRODTABLE.PRODID, PRODCALCTRANS.COSTGROUPID, PRODTABLE.QTYCALC, PRODTABLE.PRODSTATUS, PRODCALCTRANS.COSTAMOUNT,
                             PRODCALCTRANS.COSTMARKUP, PRODCALCTRANS.REALCOSTAMOUNT, PRODCALCTRANS.CALCTYPE, PRODTABLE.DATAAREAID, PRODCALCTRANS.KEY3,
                             PRODCALCTRANS.CONSUMPVARIABLE, PRODCALCTRANS.REALCONSUMP, PRODTABLE.ITEMID, PRODTABLE.SCHEDDATE, PRODTABLE.FINISHEDDATE,
                             PRODCALCTRANS.KEY1, PRODCALCTRANS.TRANSDATE, PRODCALCTRANS.QTY, PRODCALCTRANS.KEY2, PRODCALCTRANS.COLLECTREFLEVEL,
                             PRODCALCTRANS.LINENUM, INVENTTABLE.ITEMNAME, INVENTTABLE.ITEMID AS Expr1, PRODTABLE.INVENTTRANSID
    FROM            PRODTABLE INNER JOIN
                             PRODCALCTRANS ON PRODTABLE.PRODID = PRODCALCTRANS.PRODID AND PRODTABLE.DATAAREAID = PRODCALCTRANS.DATAAREAID INNER
    JOIN
                             INVENTTABLE ON PRODCALCTRANS.DATAAREAID = INVENTTABLE.DATAAREAID AND PRODCALCTRANS.KEY1 = INVENTTABLE.ITEMID
    WHERE        (PRODTABLE.PRODSTATUS = 7) AND (PRODTABLE.DATAAREAID = N'AR1') AND (PRODTABLE.ITEMID = @itemid) AND
                             (PRODTABLE.FINISHEDDATE >= @Paramfromdate) AND (PRODTABLE.FINISHEDDATE <= @Paramtodate) AND (PRODCALCTRANS.COLLECTREFLEVEL
    = 1) AND
                             (PRODCALCTRANS.CALCTYPE >= 0)

    Hi Bitia,
    As per my understanding, after you add Item field to the report, it does not calculate total of matl group, right? If that is the case, please refer to the following steps to troubleshoot the problem:
    Modify the dataset used to retrieve data, delete the fields will not be used in the report.
    Run the query in SQL Server Management Studio (SSMS) to make sure that there is data for matl cost group.
    Make sure that row group and totals are correctly added.
    In addition, do you want to add Finished date to page header? If that is the case, we can use ReportItem to achieve the goal. Please refer to the following steps:
    In design surface, right-click the report and click Insert, then click Page Header.
    Drag Text Box from Toolbox to page header.
    Right-click inside of Text Box, then click Expression.
    In the expression text box, type the code like below:
    =ReportItems!FinishedDate.Value
    If the problem remain unresolved, please provide the screenshot of the report in design view, the following screenshot is for your reference:
    Reference:
    ReportItems Collection References
    Adding Grouping and Totals
    Thanks,
    Wendy Fu

  • I have a website that I am building. Transferring word docs to the site by copy/paste does not work with firefox.Why?

    I am trying to complete my website data entry with fire fox since the security of internet explorer is questionable. I am having no success in transferring written or graphic documents from Fire Fox to my website.

    I assume this is a sitebuilder tool. Could you mention which sitebuilder it is?
    Is the problem that a paste button provided by the sitebuilder does nothing when you click it? This could be related to a Firefox security feature that bars sites from reading your Windows clipboard. Or it could just be broken. If it's a sitebuilder button, I could look into past threads for possible solutions/workarounds.
    For pasting text, instead of using a button provided by the sitebuilder, can you use one of the Windows shortcuts?
    * Ctrl+v
    * right-click > Paste
    * Edit menu > Paste ''(if you use the classic menu bar)''
    That might not work with images...
    Finally, I will say that Internet Explorer 11 is a pretty solid product. If you need to use it for your website builder tool because it only works well in IE, I don't think you are taking a lot of security risk there. Just don't stray over to random sites you don't trust.

  • My international data roaming is not working in china, why?

    I am currently traveling in mid-east china, but my data roaming is not working. it shows good single bar, but when I try to receive emails (from gmail or AOL account), it gives me error messages. it is very frustrating. it has been 3 days that I can't retrieve emails. I do have voice service though.

    You might need to contact VZW for some trouble shooting help. Unless you are using a 3rd party simcard...then you might have to check with them to make sure their isn't an issue.

  • Spring-jsf: "wiring datasource"-code looks correct, yet not working...why?

    The "applicationContext.xml" appears to be correctly configured to "wire" the datasource to the bean...
    But, unfortunately, this simple app does not work...Error message reports "dataSource is required"...
    The code/configuration I'm using reflects -- to the best of my knowledge -- the examples I've seen in books and online...
    Its apparent that I am misunderstanding some fundamental concept....
    Any help pointing out the critical flaw would be much appreciated!
    Thanks in advance!
    jw
    applicationContext.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
    <beans>
    <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
    <property name="driverClassName"><value>oracle.jdbc.OracleDriver</value></property>
    <property name="url"><value>jdbc:oracle:thin:@localhost:1521:ORCL</value></property>
    <property name="username"><value>scott</value></property>
    <property name="password"><value>tiger</value></property>
    </bean>
    <bean id="jsp1Bean" class="testjsf01.Jsp1Bean">
    <property name="dataSource"><ref bean="dataSource"/></property>
    </bean>
    </beans>
    Jsp1Bean class:
    package testjsf01;
    import org.springframework.jdbc.core.*;
    import org.springframework.jdbc.core.support.JdbcDaoSupport;
    import org.springframework.jdbc.datasource.DriverManagerDataSource;
    import org.springframework.beans.factory.xml.XmlBeanFactory;
    import org.springframework.core.io.*;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import javax.sql.DataSource;
    import java.util.ArrayList;
    import javax.faces.model.DataModel;
    import javax.faces.model.ListDataModel;
    public class Jsp1Bean extends JdbcDaoSupport
    private JdbcTemplate template;
    private DriverManagerDataSource dataSource;
    public Jsp1Bean ()
    public void setDataSource (DriverManagerDataSource dataSource)
    this.dataSource = dataSource;
    public DataModel getDataModel1() throws Exception
    final ArrayList outList = new ArrayList();
    template = new JdbcTemplate(dataSource);
    class RowCallbackHandlerImpl implements RowCallbackHandler
    public void processRow(ResultSet rs) throws SQLException
    ArrayList sublist = new ArrayList();
    sublist.add(rs.getString(1));
    sublist.add(rs.getString(2));
    sublist.add(rs.getString(3));
    outList.add(sublist);
    template.query("select a.empno, a.ename, a.job from scott.emp a", new RowCallbackHandlerImpl());
    return new ListDataModel(outList);
    web.xml:
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <context-param>
    <param-name>com.sun.faces.verifyObjects</param-name>
    <param-value>true</param-value>
    </context-param>
    <context-param>
    <param-name>com.sun.faces.validateXml</param-name>
    <param-value>true</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config.xml</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>
    <listener>
    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.faces</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>30</session-timeout>
    </session-config>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    <taglib>
    <taglib-uri>/spring</taglib-uri>
    <taglib-location>/WEB-INF/tlds/spring.tld</taglib-location>
    </taglib>
    </web-app>
    faces-context.xml:
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config>
    <application>
    <variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>
    </application>
    <managed-bean>
    <managed-bean-name>jsp1Bean</managed-bean-name>
    <managed-bean-class>testjsf01.Jsp1Bean</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    </faces-config>
    Error messages:
    Mar 17, 2006 1:08:10 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet Faces Servlet threw exception
    javax.faces.el.EvaluationException: javax.faces.el.EvaluationException: Error getting property 'dataModel1' from bean of type testjsf01.Jsp1Bean: java.lang.IllegalArgumentException: dataSource is required
    at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:206)
    at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
    at javax.faces.component.UIData.getValue(UIData.java:527)
    at javax.faces.component.UIData.getDataModel(UIData.java:856)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.faces.el.EvaluationException: Error getting property 'dataModel1' from bean of type testjsf01.Jsp1Bean: java.lang.IllegalArgumentException: dataSource is required
    at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:89)

    Ok, I got this fixed. Turns out it didn't like being inside a <rich:columnGroup>. Removed that and it's working.

Maybe you are looking for