  We study the solutions of the Einstein equations in the presence of a thick
infinite slab with constant energy density. When there is an isotropy in the
plane of the slab, we find an explicit exact solution that matches with the
Rindler and Weyl-Levi-Civita spacetimes outside the slab. We also show that
there are solutions that can be matched with general anisotropic Kasner
spacetime outside the slab. In any case, it is impossible to avoid the presence
of the Kasner type singularities in contrast to the well-known case of
spherical symmetry, where by matching the internal Schwarzschild solution with
the external one, the singularity in the center of coordinates can be
eliminated.
